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

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

All files » fontkit/src/tables/ » vhea.coffee
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 181     1                            
r = require 'restructure'
 
# Vertical Header Table
module.exports = new r.Struct
  version:                r.uint16  # Version number of the Vertical Header Table
  ascent:                 r.int16   # The vertical typographic ascender for this font
  descent:                r.int16   # The vertical typographic descender for this font
  lineGap:                r.int16   # The vertical typographic line gap for this font
  advanceHeightMax:       r.int16   # The maximum advance height measurement found in the font
  minTopSideBearing:      r.int16   # The minimum top side bearing measurement found in the font
  minBottomSideBearing:   r.int16   # The minimum bottom side bearing measurement found in the font
  yMaxExtent:             r.int16
  caretSlopeRise:         r.int16   # Caret slope (rise/run)
  caretSlopeRun:          r.int16
  caretOffset:            r.int16   # Set value equal to 0 for nonslanted fonts
  reserved:               new r.Reserved(r.int16, 4)
  metricDataFormat:       r.int16   # Set to 0
  numberOfMetrics:        r.uint16  # Number of advance heights in the Vertical Metrics table