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

14 lines
344 B
Racket

8 years ago
#lang fontkit/racket
8 years ago
(require fontkit fontkit/gpos-processor "subset.rkt" rackunit xenomorph racket/serialize)
8 years ago
(define fira-path "../pitfall/test/assets/fira.ttf")
8 years ago
(define f (openSync fira-path))
(define gpos (· f GPOS))
8 years ago
#;(get (· gpos lookupList) 11)
(define gp (+GPOSProcessor f gpos))
(· gpos scriptList)
(send gp selectScript 'cyrl)
8 years ago