"David Kastrup" <[email protected]> wrote in message news:[email protected]...
"Phil Holmes" <[email protected]> writes:

Looks like a bug to me: it doesn't work on windows even if you ignore
the command line and set the options in the lilypond file:

#(ly:set-option 'resolution 169)
#(ly:set-option 'pixmap-format "pngalpha")

resolution is set, tranparent not.  Comment out the resolution line
and all is OK.

Is there a way to see what options Ghostscript is getting called with
from LilyPond?

Under Linux, it would be easy enough to point PATH at directory
including a "gs" script that not just calls gs but also records the
command line arguments.

Windows?

Just knocked up a c# app. Results all look like they should. Further testing shows that the two options together work for resolutions up to 160 dpi, but fail above that...

Default call:
-q
-dDEVICEWIDTHPOINTS#595.28
-dDEVICEHEIGHTPOINTS#841.89
-dGraphicsAlphaBits#4
-dTextAlphaBits#4
-dNOPAUSE
-sDEVICE#png16m
-sOutputFile#./MidiTempo.png
-r101
MidiTempo.ps
-c
quit

With resolution set:
-q
-dDEVICEWIDTHPOINTS#595.28
-dDEVICEHEIGHTPOINTS#841.89
-dGraphicsAlphaBits#4
-dTextAlphaBits#4
-dNOPAUSE
-sDEVICE#png16m
-sOutputFile#./MidiTempo.png
-r169
MidiTempo.ps
-c
quit

Transparency set:
-q
-dDEVICEWIDTHPOINTS#595.28
-dDEVICEHEIGHTPOINTS#841.89
-dGraphicsAlphaBits#4
-dTextAlphaBits#4
-dNOPAUSE
-sDEVICE#pngalpha
-sOutputFile#./MidiTempo.png
-r101
MidiTempo.ps
-c
quit

Both:
-q
-dDEVICEWIDTHPOINTS#595.28
-dDEVICEHEIGHTPOINTS#841.89
-dGraphicsAlphaBits#4
-dTextAlphaBits#4
-dNOPAUSE
-sDEVICE#pngalpha
-sOutputFile#./MidiTempo.png
-r169
MidiTempo.ps
-c
quit

--
Phil Holmes
Bug Squad


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

Reply via email to