|
From: | Riccardo Mottola |
Subject: | Printing with xlib & art backend |
Date: | Sat, 06 Jul 2013 00:57:34 +0200 |
User-agent: | Mozilla/5.0 (X11; OpenBSD i386; rv:13.0) Gecko/20120803 Firefox/13.0.1 SeaMonkey/2.10.1 |
Hi, I think this has mostly to do with Eric's optimisations about 2 years ago. Riccardo Mottola wrote:
GSStreamContexts does not implement GSDefineGState explicitely, throwing an exception.Printing error: <NSException: 0x84762e4> NAME:NSInvalidArgumentException REASON:[GSStreamContext-GSDefineGState] not implemented INFO:(null)
During Eric's refactor, a lot of code was moved from NSImage to NSImageRep, but also PS operation were substituted with DPS operation, which do require gState though.
Thus my educated guess is that printing images is broken since that time except on cairo
I had the idea of using supportsDrawingGState to skip, but it is incorrect and it will break, as then DPSComposite doesn't work.
Ideas? Riccardo
[Prev in Thread] | Current Thread | [Next in Thread] |