change name

main
Matthew Butterick 8 years ago
parent 0bf40ef09b
commit 58b7d10c53

@ -1,5 +1,5 @@
#lang fontkit/racket
(require fontkit rackunit restructure racket/serialize)
(require fontkit rackunit xenomorph racket/serialize)
(define fira-path "../pitfall/test/assets/fira.ttf")
(define f (openSync fira-path))

@ -1,5 +1,5 @@
#lang fontkit/racket
(require restructure br/cond "opentype.rkt")
(require xenomorph br/cond "opentype.rkt")
(provide (all-defined-out))
#|

@ -1,5 +1,5 @@
#lang fontkit/racket
(require restructure)
(require xenomorph)
(provide (all-defined-out))
#|

@ -1,5 +1,5 @@
#lang fontkit/racket
(require restructure)
(require xenomorph)
(provide (all-defined-out))
#|
approximates

@ -1,5 +1,5 @@
#lang fontkit/racket
(require restructure "tables.rkt")
(require xenomorph "tables.rkt")
(provide (all-defined-out))

@ -1,5 +1,5 @@
#lang fontkit/racket
(require "freetype-ffi.rkt" ffi/unsafe racket/runtime-path "subset.rkt" "glyph.rkt" "layout-engine.rkt" "bbox.rkt" "glyphrun.rkt" "cmap-processor.rkt" "directory.rkt" restructure "tables.rkt" "ttfglyph.rkt")
(require "freetype-ffi.rkt" ffi/unsafe racket/runtime-path "subset.rkt" "glyph.rkt" "layout-engine.rkt" "bbox.rkt" "glyphrun.rkt" "cmap-processor.rkt" "directory.rkt" xenomorph "tables.rkt" "ttfglyph.rkt")
(provide (all-defined-out))
#|

@ -1,5 +1,5 @@
#lang fontkit/racket
(require restructure)
(require xenomorph)
(provide (all-defined-out))
#|
approximates

@ -1,5 +1,5 @@
#lang fontkit/racket
(require restructure)
(require xenomorph)
(provide (all-defined-out))
#|
approximates

@ -1,5 +1,5 @@
#lang fontkit/racket
(require restructure)
(require xenomorph)
(provide (all-defined-out))
#|

@ -1,5 +1,5 @@
#lang fontkit/racket
(require restructure)
(require xenomorph)
(provide (all-defined-out))
(define-subclass Struct (Rhhea))

@ -1,5 +1,5 @@
#lang fontkit/racket
(require restructure)
(require xenomorph)
(provide (all-defined-out))
#|
approximates

@ -1,5 +1,5 @@
#lang fontkit/racket
(require restructure)
(require xenomorph)
(provide (all-defined-out))
(define 16bit-style 0)
@ -13,7 +13,7 @@ https://github.com/mbutterick/fontkit/blob/master/src/tables/loca.js
(define-subclass VersionedStruct (Rloca)
(define/augride (process res stream ctx)
;; in `restructure` `process` method, `res` is aliased as `this`
;; in `xenomorph` `process` method, `res` is aliased as `this`
;;
(when (= 16bit-style (· res version))
;; in a 16bits-style loca table, actual 32bit offset values are divided by 2 (to fit into 16 bits)

@ -1,5 +1,5 @@
#lang fontkit/racket
(require restructure)
(require xenomorph)
(provide (all-defined-out))
(define-subclass Struct (Rmaxp))

@ -1,5 +1,5 @@
#lang fontkit/racket
(require restructure)
(require xenomorph)
(provide (all-defined-out))
#|

@ -1,5 +1,5 @@
#lang fontkit/racket
(require restructure)
(require xenomorph)
(provide (all-defined-out))
#|

@ -1,5 +1,5 @@
#lang fontkit/racket
(require restructure)
(require xenomorph)
(provide (all-defined-out))
#|
approximates

@ -1,5 +1,5 @@
#lang fontkit/racket
(require "clone.rkt" "ttfglyphencoder.rkt" "loca.rkt" "directory.rkt" restructure)
(require "clone.rkt" "ttfglyphencoder.rkt" "loca.rkt" "directory.rkt" xenomorph)
(provide Subset CFFSubset TTFSubset)
#|

@ -1,5 +1,5 @@
#lang fontkit/racket
(require "glyph.rkt" restructure)
(require "glyph.rkt" xenomorph)
(provide (all-defined-out))
#|
approximates

@ -4,3 +4,4 @@
(define build-deps '("scribble-lib" "racket-doc"))
(define version "0.0")
(define pkg-authors '(mb))
(define compile-omit-paths '("pitfall/test/node_modules/pdfkit"))

@ -1,6 +0,0 @@
#lang racket/base
(require rackunit restructure "../private/racket.rkt")
(provide (all-from-out rackunit restructure "../private/racket.rkt"))
(module reader syntax/module-reader
#:language 'restructure/test/racket)

@ -24,4 +24,4 @@
(module reader syntax/module-reader
#:language 'restructure/private/racket)
#:language 'xenomorph/private/racket)

@ -0,0 +1,6 @@
#lang racket/base
(require rackunit xenomorph "../private/racket.rkt")
(provide (all-from-out rackunit xenomorph "../private/racket.rkt"))
(module reader syntax/module-reader
#:language 'xenomorph/test/racket)
Loading…
Cancel
Save