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
558 B
Racket
22 lines
558 B
Racket
#lang fontkit/racket
|
|
(require restructure)
|
|
(provide (all-defined-out))
|
|
#|
|
|
approximates
|
|
https://github.com/mbutterick/fontkit/blob/master/src/tables/fpgm.js
|
|
|#
|
|
|
|
;; A list of instructions that are executed once when a font is first used.
|
|
;; These instructions are known as the font program. The main use of this table
|
|
;; is for the definition of functions that are used in many different glyph programs.
|
|
|
|
|
|
(define-subclass RStruct (Rfpgm))
|
|
|
|
(define fpgm (make-object Rfpgm
|
|
(dictify
|
|
'instructions (make-object RArray uint8))))
|
|
|
|
|
|
|