bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: transparency and resolution don't go together


From: Phil Holmes
Subject: Re: transparency and resolution don't go together
Date: Tue, 7 Jan 2014 13:41:23 -0000

"David Kastrup" <address@hidden> wrote in message news:address@hidden
"Phil Holmes" <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]