From 587d2134c22e9b0bea5aef07c89f2f391007bd85 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Fri, 30 Nov 2018 12:12:45 -0800 Subject: [PATCH] mods --- fontland/fontland/CFF_.rkt | 4 ++-- fontland/fontland/bbox.rkt | 17 +++++++++-------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/fontland/fontland/CFF_.rkt b/fontland/fontland/CFF_.rkt index f49569f8..09197b5c 100644 --- a/fontland/fontland/CFF_.rkt +++ b/fontland/fontland/CFF_.rkt @@ -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) diff --git a/fontland/fontland/bbox.rkt b/fontland/fontland/bbox.rkt index 27bffef5..fab85eab 100644 --- a/fontland/fontland/bbox.rkt +++ b/fontland/fontland/bbox.rkt @@ -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