summaryrefslogtreecommitdiff
path: root/ttfparser_test.go
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@code.google.com>2013-08-06 12:05:03 -0400
committerKurt Jung <kurt.w.jung@code.google.com>2013-08-06 12:05:03 -0400
commit99805031b12f1084dd10b4a7d131bae00d8d05ad (patch)
treec4da318404acd0f14aa33f797714462920c56a8e /ttfparser_test.go
parent5e0bd6c7adc32e5e1d332f4a9218a9bc26b7e936 (diff)
Tutorial 10 exercises some uncommon functions as reported by gocov.
Diffstat (limited to 'ttfparser_test.go')
-rw-r--r--ttfparser_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ttfparser_test.go b/ttfparser_test.go
index dcdab4e..c856ec5 100644
--- a/ttfparser_test.go
+++ b/ttfparser_test.go
@@ -22,7 +22,7 @@ import (
)
func ExampleTtfParse() {
- ttf, err := TtfParse(GOFPDF_DIR + "/font/calligra.ttf")
+ ttf, err := TtfParse(FONT_DIR + "/calligra.ttf")
if err == nil {
fmt.Printf("Postscript name: %s\n", ttf.PostScriptName)
fmt.Printf("unitsPerEm: %8d\n", ttf.UnitsPerEm)