From adebea8838511aa1e16f56558dc16d72b1aa360d Mon Sep 17 00:00:00 2001
From: hanwen <hanwen>
Date: Mon, 5 Sep 2005 14:12:00 +0000
Subject: [PATCH] (make-ps-images): use png16m again, for sake of IE users.

---
 ChangeLog         | 3 ++-
 flower/offset.cc  | 2 ++
 scm/ps-to-png.scm | 5 +++--
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 86047a1c37..84458afaf0 100644
--- 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().
 
diff --git a/flower/offset.cc b/flower/offset.cc
index d378d16bdf..6308bd047c 100644
--- a/flower/offset.cc
+++ b/flower/offset.cc
@@ -8,6 +8,8 @@
 
 #include "offset.hh"
 
+
+#include <math.h>
 #include <cmath>
 
 #ifndef STANDALONE
diff --git a/scm/ps-to-png.scm b/scm/ps-to-png.scm
index 06265fe27c..248a9d47de 100644
--- a/scm/ps-to-png.scm
+++ b/scm/ps-to-png.scm
@@ -142,13 +142,14 @@
 	  (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\
-- 
2.39.5