Re: PDFKit and 64-bit bugs

Antonio Nunes <[email protected]>
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
On 5 Sep 2009, at 23:10, Christiaan Hofman wrote:

> I've finally moved to upgrade a PDFKit app to 64-bits. However, it's  
> giving me all kinds of crashers which I'm pretty sure are bugs in  
> PDFKit. It seems that whenever I call -[PDFBorder dashPattern] or - 
> [PDFPage attributedString] it crashes, and on 10.5.8 also -[PDFView  
> areaOfInterestForMouse:] (though that seems to originate in - 
> [PDFPage loadTextChars]). I've found some ugly workarounds for the  
> first two, but the last one remains illusive.

I've had no issues with any of these methods. Not on 10.5.any in 32  
bit, and not on 10.6 in 64 bit. My app is garbage collected, so if  
your is not, that might explain the lack of issues for these  
particular methods (although that would surprise me: non-GCd PDFKit  
seems to be noticeably better tested than GCd PDFKit).

What's with loadTextChars? That is not a PDFKit method, probably a  
brew of your own :-)

(There are definitely bugs in PDFKit though, including some new ones  
in 10.6, which fortunately also fixes some old ones.)

-António

-----------------------------------------------------------
What you have inside you expresses itself through both your
choice of words and the level of energy you assign to them.
The more healed, whole and connected you feel inside,
the more healing your words will be.

--Rita Goswami
-----------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.