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

Bug#912627: asymptote: Asymptote crashes on attempt to create pdf file



On 02.11.2018 00:22, Dmitry Bogatov wrote:

Hi Dmitry,

> 	draw((0, 0) -- (1, 1), opacity(0.7));
> 
> Here is error:
> 
After removing the opacity statement...

> 	Error: /undefined in .setopacityalpha
> 	Operand stack:
> 	   0.7
>

The following line is missing when generating an eps file:

0.7 .setopacityalpha

..and the conversion works fine.

I had a further look at google and found the information, that
ghostscript recently [1] removed some non-standard extensions, unless
option -nosafe is used. I'm not sure, when this happened, b/c my gs 9.20
in Debian stable fails to process this file too. Work around is
described on [1] too.

Also this function is still mentioned on [2]. The issue in asy is still
in 2.47 (probably) and needs to be forwarded.

Hilmar

[1]
https://sourceforge.net/p/asymptote/discussion/409349/thread/f2ecb64b19/?limit=25#f822
[2] https://www.ghostscript.com/doc/current/Language.htm
-- 
#206401 http://counter.li.org

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: