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

12 lines
303 B
Racket

7 years ago
#lang fontkit/racket
(require fontkit "subset.rkt" rackunit xenomorph racket/serialize)
7 years ago
(define fira-path "../pitfall/test/assets/fira.ttf")
7 years ago
(define f (openSync charter-path))
(define ttfs (make-object TTFSubset f))
(send ttfs encodeStream)
7 years ago
#;(define gpos (· f GPOS))
#;(get (· gpos lookupList) 7)
7 years ago