Hi Leo, I have found the error. When saving the pdf I use a quartz filter to compress the document. In this filter I have <key>OutputCondition</key> <string>CGATS TR 001 SWOP</string> <key>OutputConditionIdentifier</key> <string>CGATS TR 001</string> If I remove the lines <key>OutputConditionIdentifier</key> <string>CGATS TR 001</string> from the filter, I get a good pdf. I would like to know whether removing these lines will not affect the integrity of the pdf when printing. The filter contains a FOGRA39 profile. Is anyone who knows more about that?
Regards -- Leonardo > Da: Leo <le...@rogers.com> > Data: Mon, 23 Dec 2013 04:45:25 -0500 > A: Leonardo <mac.iphone....@gmail.com> > Cc: <cocoa-dev@lists.apple.com> > Oggetto: Re: dataWithPDFInsideRect returns raster text > > If it doesn't work, you may need to use CGPDF... stuff and combine your > elements in PDF manually. But that's just a guess as I never had to > solve the issue you describe. > > Leo > > >> On 12/19/13, 12:12 PM, Leonardo wrote: >> >> >> I get a pdf from my NSView using dataWithPDFInsideRect. If my view contains >> only a NSTextView, dataWithPDFInsideRect properly returns a pdf with real >> and selectable test. >> But if put over the NSTextView a NSView in which I draw a transparent png >> NSImage, the text laying exactly under the image gets rasterized and not >> selectable. >> In other words I can't put any image over the text and and get a >> professional pdf. >> Is a way to solve this trouble? I guess yes. Thanks. >> >> >> >> Regards >> -- Leonardo >> >> >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> 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: >> https://lists.apple.com/mailman/options/cocoa-dev/leo.r%40rogers.com >> >> This email sent to le...@rogers.com > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com