;;; define-fonts
;;; no-origin
;;; start-system
-;;; end-output
;;; header
;;; comment
;;; stop-last-system
(define (define-fonts paper font-list)
(comment (format #f "Fonts used: ~S" font-list)))
-(define (end-output)
- "</g></svg>")
-
(define (filledbox breapth width depth height)
(round-filled-box breapth width depth height line-thickness))
;; (tagify "text" (dispatch expr) (cons 'style (get-font font)))))
(tagify "text" expr (cons 'style (get-font font)))))
-(define (utext font s)
+(define (text font s)
(tagify "tspan"
- (apply string-appendb
+ (apply string-append
(map (lambda (x) (ascii->upm-string (char->integer x)))
- (string->list s)))))
+ (string->list s)))
+ (cons 'style (get-font font))))
-(define (text font s)
+(define (ntext font s)
;; (fontify font
;; to unicode or not?
(tagify "tspan" (dispatch `(fontify ,font ,s))))