diff options
author | Kurt Jung <kurt.w.jung@code.google.com> | 2013-08-06 12:05:03 -0400 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@code.google.com> | 2013-08-06 12:05:03 -0400 |
commit | 99805031b12f1084dd10b4a7d131bae00d8d05ad (patch) | |
tree | c4da318404acd0f14aa33f797714462920c56a8e /ttfparser_test.go | |
parent | 5e0bd6c7adc32e5e1d332f4a9218a9bc26b7e936 (diff) |
Tutorial 10 exercises some uncommon functions as reported by gocov.
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) |