I create a file wrapper from a pdf image on disk and insert it into my textstorage, with no problem, which draws fine on screen but then when I want to print the document it draws the image at low resolution.

This is a bug that was introduced in Leopard that affects PDF and EPS images. I don't believe there's any way to coerce the attachment (or the NSImage even) to not use the cached (low quality) image data. You have to tell the NSImageRep draw itself directly to avoid the issue.

Experimenting, I have found that Pages does not at all behave like a standard NSTextView which is a bit of a pain as it is difficult to create consistency between different applications, but that is another story.

Pages uses WebKit, not NSTextView and friends.

~Martin

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to