]> git.donarmstrong.com Git - lilypond.git/commitdiff
(make-ps-images): use png16m again, for sake
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 5 Sep 2005 14:12:00 +0000 (14:12 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 5 Sep 2005 14:12:00 +0000 (14:12 +0000)
of IE users.

ChangeLog
flower/offset.cc
scm/ps-to-png.scm

index 86047a1c37fec7a3cbba261994d02d36e74403ee..84458afaf0ef63bce1fb9a804631192be00e6331 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,7 +4,8 @@
        of IE users.
 
        * scm/framework-eps.scm (dump-stencils-as-EPSes): cleanup.
-       (widen-left-stencil-edges): new function.
+       (widen-left-stencil-edges): new function. Fix alignment problems
+       with LaTeX includegraphics.
 
        * lily/text-interface.cc (interpret_markup): use abort().
 
index d378d16bdf896c29d9e5a0df41affa33065ac19a..6308bd047c1c98c53eba1b4062471e61c8ce9b85 100644 (file)
@@ -8,6 +8,8 @@
 
 #include "offset.hh"
 
+
+#include <math.h>
 #include <cmath>
 
 #ifndef STANDALONE
index 06265fe27ce64dcf9ad33602a4984033b76e6c6d..248a9d47defc71196da76a98dfb57f13f480af76 100644 (file)
          (multi-page? (> page-count 1))
          (output-file (if multi-page? pngn png1))
 
-         ;;png16m is because Lily produces color nowadays.
+         ;; png16m is because Lily produces color nowadays.
+         ;; can't use pngalpha device, since IE is broken.
+         ;;
          (gs-variable-options
            (if multi-page?
                (format #f "-sPAPERSIZE=~a" paper-size)
                "-dEPSCrop"))
 
-         ;; can't use pngalpha device, since IE is broken.  
          (cmd (format #f "~a\
  ~a\
  ~a\