diff options
author | Kurt Jung <kurt.w.jung@gmail.com> | 2015-07-23 12:50:56 -0400 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@gmail.com> | 2015-07-23 12:50:56 -0400 |
commit | 02abbc901712fc28375ea19b4dcb5d6ef3af0bb2 (patch) | |
tree | 1482e974275408bb9fd14e5e21d76aca9a7f51a8 /font.go | |
parent | a66d421172b03aa66a20d1a76e40d9b5e2f2798e (diff) |
Add a sample Type1 font and metric file pair for testing purposes
Diffstat (limited to 'font.go')
-rw-r--r-- | font.go | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -374,8 +374,10 @@ func makeDefinitionFile(fileStr, tpStr, encodingFileStr string, embed bool, encL // gofpdf generates. See the makefont utility in the gofpdf package for a // command line interface to this function. // -// fontFileStr is the name of the TrueType (or OpenType based on TrueType) or -// Type1 file from which to generate a definition file. +// fontFileStr is the name of the TrueType (or OpenType based on TrueType, +// extension .ttf) or binary Type1 file (extension .pfb) from which to generate +// a definition file. If a Type1 file is specified, a metric file with the same +// pathname except with the extension .afm must be present. // // encodingFileStr is the name of the encoding file that corresponds to the // font. |