]> git.donarmstrong.com Git - lilypond.git/commitdiff
(glyph-string): remove / before CIDs.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 20 May 2005 18:45:44 +0000 (18:45 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 20 May 2005 18:45:44 +0000 (18:45 +0000)
ChangeLog
scm/output-ps.scm

index 0cf52a5ee8926117c189aa521113f7ebf84f6ed3..abb4990b355f85f6a917bcc45db0ae0c5f441cd8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-20  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * scm/output-ps.scm (glyph-string): remove / before CIDs.
+
 2005-05-20  Graham Percival  <gperlist@shaw.ca>
 
        * Documentation/user/instrument-notation.itely: remove *Engraver.
index 538bd18c8eb484f2f4d07039aded18aa52ba875d..a77a3fe3c4ac3c4cfa5b67db91da3aa3398eb866 100644 (file)
         postscript-font-name
         size cid?
         x-y-named-glyphs)
-  
+
   (format #f "gsave 1 output-scale div 1 output-scale div scale
   /~a ~a ~a scalefont setfont\n~a grestore"
          postscript-font-name
          (apply
           string-append
           (map (lambda  (item)
-                 (let
+                 (let*
                      ((x (car item))
                       (y (cadr item))
-                      (g (caddr item)))
+                      (g (caddr item))
+                      (prefix (if  (string? g) "/" "")))
 
                    (if (and (= 0.0 x)
                             (= 0.0 y))
-                       (format #f " /~a glyphshow\n" g)
+                       (format #f " ~a~a glyphshow\n" prefix g)
                        (format #f " ~a ~a rmoveto ~a~a glyphshow\n"
                                x y
-                               (if  (string? g) "/" "")
+                               prefix
                                g))))
                x-y-named-glyphs))))