Code coverage report for fontkit/src/tables/PCLT.coffee

Statements: 100% (2 / 2)      Branches: 100% (0 / 0)      Functions: 100% (0 / 0)      Lines: 100% (2 / 2)      Ignored: none     

All files » fontkit/src/tables/ » PCLT.coffee
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 201       1                              
r = require 'restructure'
 
# PCL 5 Table
# NOTE: The PCLT table is strongly discouraged for OpenType fonts with TrueType outlines
module.exports = new r.Struct
  version:              r.uint16
  fontNumber:           r.uint32
  pitch:                r.uint16
  xHeight:              r.uint16
  style:                r.uint16
  typeFamily:           r.uint16
  capHeight:            r.uint16
  symbolSet:            r.uint16
  typeface:             new r.String(16)
  characterComplement:  new r.String(8)
  fileName:             new r.String(6)
  strokeWeight:         new r.String(1)
  widthType:            new r.String(1)
  serifStyle:           r.uint8
  reserved:             new r.Reserved(r.uint8)