main
Matthew Butterick 7 years ago
parent bd667fe6ca
commit 612c2903db

@ -11,6 +11,7 @@
(define font
(cond
[(string? src) (openSync src family)]
[(path? src) (openSync (path->string src) family)]
;; todo: other font-loading cases
[else (raise-argument-error 'PDFFont-open "loadable font thingy" src)]))
(make-object EmbeddedFont document font id)]))

Loading…
Cancel
Save