• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: dataWithPDFInsideRect returns raster text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dataWithPDFInsideRect returns raster text


  • Subject: Re: dataWithPDFInsideRect returns raster text
  • From: Leonardo <email@hidden>
  • Date: Wed, 25 Dec 2013 10:44:12 +0100
  • Thread-topic: dataWithPDFInsideRect returns raster text

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 <email@hidden>
> Data: Mon, 23 Dec 2013 04:45:25 -0500
> A: Leonardo <email@hidden>
> Cc: <email@hidden>
> 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 (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
>


_______________________________________________

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


References: 
 >Re: dataWithPDFInsideRect returns raster text (From: Leo <email@hidden>)

  • Prev by Date: Re: NSArrayController + NSTableView addObject ends editing
  • Next by Date: NSURLSession + Bonjour to do peer-to-peer file transfers?
  • Previous by thread: Re: dataWithPDFInsideRect returns raster text
  • Next by thread: How to accept drag of a URL on the dock icon?
  • Index(es):
    • Date
    • Thread