goodbye clone

main
Matthew Butterick 6 years ago
parent 587d2134c2
commit ccb55d3835

@ -1,9 +0,0 @@
#lang racket/base
(require "racket.rkt")
(require racket/serialize)
(provide cloneDeep)
(define (cloneDeep val)
(deserialize (serialize val)))

@ -1,6 +1,6 @@
#lang debug racket/base
(require "racket.rkt")
(require "clone.rkt" "ttfglyphencoder.rkt" "loca.rkt" "directory.rkt" xenomorph)
(require racket/serialize "ttfglyphencoder.rkt" "loca.rkt" "directory.rkt" xenomorph)
(provide Subset CFFSubset TTFSubset)
#|
@ -132,6 +132,8 @@ https://github.com/mbutterick/fontkit/blob/master/src/subset/TTFSubset.js
;; additional tables required for standalone fonts:
;; name, cmap, OS/2, post
(define (cloneDeep val) (deserialize (serialize val)))
(define/contract (encode this port)
(output-port? . ->m . void?)

Loading…
Cancel
Save