You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
typesetting/pitfall/fontkit/GSUB-test.coffee

6 lines
248 B
CoffeeScript

fontkit = require '../pdfkit/node_modules/fontkit'
fira_path = "../pitfall/test/assets/fira.ttf"
f = fontkit.openSync(fira_path)
8 years ago
console.log f.GSUB.lookupList.get(30).subTables
console.log f.GSUB.lookupList.get(30).subTables[0].ligatureSets.get(0)