all files / fontkit/src/tables/ LTSH.coffee

100% Statements 2/2
100% Branches 0/0
100% Functions 0/0
100% Lines 2/2
1 2 3 4 5 6 7 8 9              
r = require 'restructure'
 
# Linear Threshold table
# Records the ppem for each glyph at which the scaling becomes linear again, 
# despite instructions effecting the advance width
module.exports = new r.Struct
  version:    r.uint16
  numGlyphs:  r.uint16
  yPels:      new r.Array(r.uint8, 'numGlyphs')