On Jan 25, 2008, at 4:25 AM, Christiaan Hofman wrote:

>
> On 24 Jan 2008, at 11:14 PM, Adam R. Maxwell wrote:
>
>>
>> On Jan 24, 2008, at 1:55 PM, Christiaan Hofman wrote:
>>
>>>
>>> On 24 Jan 2008, at 10:44 PM, Adam R. Maxwell wrote:
>>>>
>>> I would expect that PDFPage does essentially the same thing. Perhaps
>>> it's some option in the graphics context?
>>
>> Could be, or the page was screwed up by PDFDocument somehow.  A
>> problem with the graphics context is more likely, but drawing to an
>> NSBitmapImageRep has the same problem.
>>
>
> And when Skim uses FileView's approach for drawing, does it still
> give problems? then we know if the problem is in the graphics context
> or PDFDocument.

I was able to create a CGPDFDocument by using a delayed perform so the  
PDFPage had a document.  Drawing to the current context had the same  
problem, but I didn't try creating a CGBitmapContext and drawing to  
that.  Maybe creating an NSPDFImageRep would work, but I doubt it.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
skim-app-develop mailing list
skim-app-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-develop

Reply via email to