diff options
Diffstat (limited to 'ttfparser_test.go')
-rw-r--r-- | ttfparser_test.go | 2 |
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) |