From: Adam R. M. <ama...@ma...> - 2008-01-24 21:44:46
|
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. |