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.
21 lines
473 B
Racket
21 lines
473 B
Racket
#lang racket/base
|
|
|
|
|
|
#|
|
|
approximates
|
|
https://github.com/mbutterick/fontkit/blob/master/src/glyph/CFFGlyph.js
|
|
|#
|
|
|
|
#;(define-subclass Glyph (CFFGlyph)
|
|
(error 'cff-glyph-unimplemented)
|
|
|
|
#;(define/override (_getName this)
|
|
(->m any/c)
|
|
(if (send (· this _font) _getTable 'CFF2)
|
|
(super _getName)
|
|
(send (send (· this _font) _getTable 'CFF_) getGlyphName (· this id))))
|
|
(as-methods
|
|
#;_getName
|
|
#;bias
|
|
#;_getPath))
|