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/GPOS-test.rkt

9 lines
252 B
Racket

#lang fontkit/racket
(require fontkit rackunit restructure)
(define fira-path "../pitfall/test/assets/fira.ttf")
(define f (openSync fira-path))
(define gpos (send GPOS decode (send f _getTableStream 'GPOS)))
(send (dict-ref gpos 'lookupList) get 2)