resume in applyFeatures

main
Matthew Butterick 7 years ago
parent c9c6663626
commit 8ae32ee305

@ -7,5 +7,9 @@ https://github.com/mbutterick/fontkit/blob/master/src/opentype/GPOSProcessor.js
|#
(define-subclass OTProcessor (GPOSProcessor)
(define/override (applyFeatures userFeatures glyphs advances)
(error 'gpos-processor-applyFeatures-not-implemented)
(super applyFeatures userFeatures glyphs advances))
)

@ -69,5 +69,9 @@ https://github.com/mbutterick/fontkit/blob/master/src/opentype/OTProcessor.js
(when (· this language)
(for ([featureIndex (in-list (· this language featureIndexes))])
(define record (list-ref (· this table featureList) featureIndex))
(dict-set! (· this features) (· record tag) (· record feature))))))))
(dict-set! (· this features) (· record tag) (· record feature)))))))
(define/public (applyFeatures userFeatures glyphs advances)
(error 'ot-processor-applyFeatures-not-implemented)))

Loading…
Cancel
Save