+2004-09-11 Matthias Neeracher <neeracher@mac.com>
+
+ * scm/framework-ps.scm (reencode-font): Handling font scaling
+ and reencoding differently to work around a bug in gs 8.30 and
+ earlier.
+ Update callers.
+
2004-09-11 Han-Wen Nienhuys <hanwen@xs4all.nl>
* lily/*-engraver.cc: remove all Protected_scm objects to fix GC
"/" command " { /" fontname " findfont "
(ly:number->string scaling) " output-scale div scalefont } bind def\n"))
- (define (reencode-font plain encoding command)
+ (define (reencode-font fontname encoding scaling command)
(let ((coding-vector (get-coding-command encoding)))
(string-append
- plain " " coding-vector " /" command " reencode-font\n"
- "/" command "{ /" command " findfont 1 scalefont } bind def\n")))
+ "/" fontname " findfont " coding-vector " /" command " reencode-font\n"
+ "/" command "{ /" command " findfont " (ly:number->string scaling) " output-scale div scalefont } bind def\n")))
(define (standard-tex-font? x)
(or (equal? (substring x 0 2) "ms")
(define-font plain fontname scaling)
(if (equal? input-encoding font-encoding)
""
- (reencode-font plain input-encoding command)))))
+ (reencode-font fontname input-encoding scaling command)))))
(define (font-load-encoding encoding)
(let ((filename (get-coding-filename encoding)))