diff options
author | Kurt <kurt.w.jung@gmail.com> | 2016-07-30 11:04:43 -0400 |
---|---|---|
committer | Kurt <kurt.w.jung@gmail.com> | 2016-07-30 11:04:43 -0400 |
commit | a7290bf6598b103a0fcdb5ce25182e83c00e881b (patch) | |
tree | ce1128a9020335884c2700eea5d502e69f47bf77 /def.go | |
parent | b4326772157dd77fe2d769a03611a1dca14a10e2 (diff) |
Isolate embedded font data
Diffstat (limited to 'def.go')
-rw-r--r-- | def.go | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -249,9 +249,9 @@ type Fpdf struct { catalogSort bool // sort resource catalogs in document colorFlag bool // indicates whether fill and text colors are different color struct { - // Composite values of colors - draw, fill, text clrType - } + // Composite values of colors + draw, fill, text clrType + } } type encType struct { @@ -313,31 +313,31 @@ type FontDescType struct { // The maximum height above the baseline reached by glyphs in this // font (for example for "S"). The height of glyphs for accented // characters shall be excluded. - Ascent int + Ascent int // The maximum depth below the baseline reached by glyphs in this // font. The value shall be a negative number. - Descent int + Descent int // The vertical coordinate of the top of flat capital letters, // measured from the baseline (for example "H"). - CapHeight int + CapHeight int // A collection of flags defining various characteristics of the // font. (See the FontFlag* constants.) - Flags int + Flags int // A rectangle, expressed in the glyph coordinate system, that // shall specify the font bounding box. This should be the smallest // rectangle enclosing the shape that would result if all of the // glyphs of the font were placed with their origins coincident // and then filled. - FontBBox fontBoxType + FontBBox fontBoxType // The angle, expressed in degrees counterclockwise from the // vertical, of the dominant vertical strokes of the font. (The // 9-o’clock position is 90 degrees, and the 3-o’clock position // is –90 degrees.) The value shall be negative for fonts that // slope to the right, as almost all italic fonts do. - ItalicAngle int + ItalicAngle int // The thickness, measured horizontally, of the dominant vertical // stems of glyphs in the font. - StemV int + StemV int // The width to use for character codes whose widths are not // specified in a font dictionary’s Widths array. This shall have // a predictable effect only if all such codes map to glyphs whose |