fixes OTF embedding on windows.
+2005-06-18 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * lily/paper-outputter.cc (file): open file in binary mode. This
+ fixes OTF embedding on windows.
+
2005-06-17 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * scm/framework-ps.scm (write-preamble): remove debugging output.
+
* mf/aybabtu.pe.in (i): don't generate aybabtu.cff
* mf/GNUmakefile ($(outdir)/fonts.cache-1): create font cache for
if (file_name_ == "-")
file_ = scm_current_output_port ();
else
+ /*
+ Opening binary sucks a little for DOS, since PS doesn't look like
+ ASCII anymore, but binary CFFs will get embedded correctly.
+ */
file_ = scm_open_file (scm_makfrom0str (file_name_.to_str0 ()),
- scm_makfrom0str ("w"));
+ scm_makfrom0str ("wb"));
return file_;
}