main
Matthew Butterick 8 years ago
parent 1cf9abeb26
commit a283ee11b7

@ -2,7 +2,8 @@ fontkit = require '../pdfkit/node_modules/fontkit'
fira_path = "../pitfall/test/assets/fira.ttf"
f = fontkit.openSync(fira_path)
console.log(f.GPOS)
thing = f.GPOS.lookupList
console.log f.GPOS.lookupList.get(0)
###
{ version: 65536,

@ -100,7 +100,7 @@ https://github.com/mbutterick/fontkit/blob/master/src/tables/GPOS.js
(define-subclass VersionedStruct (GPOSLookup-VersionedStruct))
(define GPOSLookup
(+GPOSLookup-VersionedStruct
(λ (parent) (or (· parent parent res lookupType)
(λ (parent) (or (· parent parent res )
(raise-argument-error 'GPOSLookup "parent object" #f)))
(dictify
;; Single Adjustment

Loading…
Cancel
Save