main
Matthew Butterick 6 years ago
parent b40ed3559c
commit 587d2134c2

@ -9,6 +9,8 @@ https://github.com/mbutterick/fontkit/blob/master/src/cff/CFFFont.js
|#
;; the CFFFont object acts as the decoder for the `CFF ` table.
;; no CFF support yet
(define-subclass BufferT (RCFF_)
@ -16,5 +18,3 @@ https://github.com/mbutterick/fontkit/blob/master/src/cff/CFFFont.js
(define CFF_ (+RCFF_))
(test-module)

@ -5,14 +5,15 @@
(struct BBox (minX minY maxX maxY) #:transparent #:mutable)
(define (make-BBox ; The minimum X position in the bounding box
[minX +inf.0]
; The minimum Y position in the bounding box
[minY +inf.0]
; The maxmimum X position in the bounding box
[maxX -inf.0]
; The maxmimum Y position in the bounding box
[maxY -inf.0])
(define (make-BBox
; The minimum X position in the bounding box
[minX +inf.0]
; The minimum Y position in the bounding box
[minY +inf.0]
; The maxmimum X position in the bounding box
[maxX -inf.0]
; The maxmimum Y position in the bounding box
[maxY -inf.0])
(BBox minX minY maxX maxY))
;; The width of the bounding box

Loading…
Cancel
Save