main
Matthew Butterick 5 years ago
parent c5c2eea752
commit 93be8eda04

@ -2,4 +2,4 @@
(require "cff/cff-font.rkt") (require "cff/cff-font.rkt")
;; the CFFFont object acts as the decoder for the `CFF ` table. ;; the CFFFont object acts as the decoder for the `CFF ` table.
(provide (rename-out (CFFFont CFF_))) (provide (rename-out [CFFFont CFF_]))

@ -62,7 +62,6 @@ https://github.com/mbutterick/fontkit/blob/master/src/cff/CFFDict.js
(define val (decodeOperands (third field) stream ret operands)) (define val (decodeOperands (third field) stream ret operands))
(unless (void? val) (unless (void? val)
;; ignoring PropertyDescriptor nonsense ;; ignoring PropertyDescriptor nonsense
(hash-set! ret (second field) val)) (hash-set! ret (second field) val))

@ -1,6 +1,6 @@
#lang debug racket/base #lang debug racket/base
(require racket/class racket/match racket/list xenomorph "cff-top.rkt") (require racket/class racket/match racket/list xenomorph "cff-top.rkt")
(provide (rename-out (CFFFont CFF_))) (provide CFFFont)
#| #|
approximates approximates

@ -16,7 +16,7 @@ https://github.com/mbutterick/fontkit/blob/master/src/tables/index.js
(r+p TABLE-ID-STRING ...) (r+p TABLE-ID-STRING ...)
(define ID (make-hasheq (map cons (list 'TABLE-ID ...) (list TABLE-ID ...))))))])) (define ID (make-hasheq (map cons (list 'TABLE-ID ...) (list TABLE-ID ...))))))]))
(define-table-codecs table-codecs head hhea hmtx maxp OS/2 post cvt_ fpgm loca prep glyf #;CFF_) (define-table-codecs table-codecs head hhea hmtx maxp OS/2 post cvt_ fpgm loca prep glyf CFF_)
#| #|

Loading…
Cancel
Save