On Jan 24, 2008, at 1:28 PM, Adam R. Maxwell wrote:

>
> On Jan 24, 2008, at 1:18 PM, Christiaan Hofman wrote:
>
>> Adam, can you confirm that the PDF at the following link beach balls
>> Skim:
>> <http://penguin.comms.unsw.edu.au/~ben/pub/page25-watermarked.pdf>
>
> Yeah, it sure does.  Here's part of the sample; looks like it's trying
> to draw a thumbnail.  Preview opens it just fine, although the file
> looks pretty weird.  Does it beachball on Tiger also?
>
> 787 -[SKMainWindowController objectInThumbnailsAtIndex:]
>   787 -[PDFPage(SKExtensions)  
> thumbnailWithSize:forBox:readingBarRect:]
>     787 -[PDFPage(SKExtensions)
> thumbnailWithSize:forBox:shadowBlurRadius:shadowOffset:readingBarRect 
> :]
>       787 -[PDFPage drawWithBox:]
>         787 -[PDFPage(PDFPagePrivate) drawWithBox:inContext:]
>           787 CGContextDrawPDFPage

I really don't understand this.  FVPDFIcon draws this thing just fine,  
and it uses CGContextDrawPDFPage.  If I call

     CGContextDrawPDFPage([[NSGraphicsContext currentContext]  
graphicsPort], [self pageRef]);

in thumbnailWithSize:..., I see the same hang, so it's not something  
specific to PDFPage.


-------------------------------------------------------------------------
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