[Leopard] bug in [NSGraphicsContext attributes]
[Leopard] bug in [NSGraphicsContext attributes]
- Subject: [Leopard] bug in [NSGraphicsContext attributes]
- From: Michael Monscheuer <email@hidden>
- Date: Tue, 06 Nov 2007 14:02:53 +0100
Hi!
When creating an NSGraphicsContext using -graphicsContextWithGraphicsPort:flipped:
with a CGPDFContext as graphics port, the dictionary returned by -attributes
of the created NSGraphicsContext no longer contains the documented key-value pairs.
In Tiger the attribute dict contains keys like
NSGraphicsContextRepresentationFormatAttributeName and
NSGraphicsContextDestinationAttributeName.
In Leopard no more.
If you rely on these keys and values, I'd suggest to check your apps.
As this bug also affects possible analysis while printing:
Any ideas how to find out if current context's graphics port
(e.g. while printing a PDF via NSPrintPanel) is a PDF context or not?
Michael
P.S.: Yes, I will file a bug report for sure :-)
---
Michael Monscheuer
www.icalamus.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden