|
|
|
@ -29,9 +29,7 @@ https://github.com/mbutterick/fontkit/blob/master/src/glyph/CFFGlyph.js
|
|
|
|
|
(define cff (get-table (glyph-font this) 'CFF_))
|
|
|
|
|
(define str (vector-ref (hash-ref* cff 'topDict 'CharStrings) (glyph-id this)))
|
|
|
|
|
(define end (+ (index-item-offset str) (index-item-length str)))
|
|
|
|
|
(define stream (if (woff-font? (glyph-font this))
|
|
|
|
|
(get-table-stream (glyph-font this) 'CFF_)
|
|
|
|
|
(ttf-font-port (glyph-font this))))
|
|
|
|
|
(define stream (get-table-stream (glyph-font this) 'CFF_))
|
|
|
|
|
(pos stream (index-item-offset str))
|
|
|
|
|
|
|
|
|
|
(define path (Path))
|
|
|
|
|