Comment #9 on issue 1186 by pnorcks: Problem in Notation 1.8.2, section "Graphic notation inside markup":
http://code.google.com/p/lilypond/issues/detail?id=1186

I'm running "make doc" right now to make sure everything works okay...

This is the change I'm making:

diff --git a/scm/ps-to-png.scm b/scm/ps-to-png.scm
index cbe6d23..5019241 100644
--- a/scm/ps-to-png.scm
+++ b/scm/ps-to-png.scm
@@ -124,8 +124,7 @@
          (output-file (if multi-page? pngn png1))

          (gs-variable-options
-           ;; ps-page-count returns 0 for EPS files
-           (if (zero? page-count)
+           (if (string-suffix-ci? ".eps" ps-name)
                "-dEPSCrop"
                (format #f "-dDEVICEWIDTHPOINTS=~,2f -dDEVICEHEIGHTPOINTS=~,2f"
                        page-width page-height)))



_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to