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.
22 lines
402 B
Racket
22 lines
402 B
Racket
#lang fontkit/racket
|
|
(require restructure)
|
|
(provide (all-defined-out))
|
|
|
|
#|
|
|
approximates
|
|
https://github.com/mbutterick/fontkit/blob/master/src/tables/loca.js
|
|
|#
|
|
|
|
(define-subclass RVersionedStruct (Rloca))
|
|
|
|
(define loca (make-object Rloca
|
|
(λ (this) (hash-ref (send this _getTable 'head) 'indexToLocFormat))
|
|
(dictify
|
|
|
|
|
|
)))
|
|
|
|
(test-module
|
|
)
|
|
|