Re: NSXML* classes

2012-02-24 Thread Fred Kiefer
Am 23.02.2012 um 19:09 schrieb Richard Frith-Macdonald rich...@tiptree.demon.co.uk: On 23 Feb 2012, at 17:48, Gregory Casamento wrote: Fred, I see that Doug replied to the rest of it, I just have a couple questions... On Thu, Feb 23, 2012 at 4:37 AM, Fred Kiefer fredkie...@gmx.de

Re: cairo vs. art and PDFKit

2012-02-24 Thread Riccardo Mottola
Hi Eric, On 02/23/12 21:13, Eric Wasylishen wrote: Hi Riccardo, Thanks for the bug report, this is an interesting one. It looks like I made some oversights with how NSImageRep expects to be overridden - currently it looks like image rep subclasses must override -draw in order to work

Re: cairo vs. art and PDFKit

2012-02-24 Thread Eric Wasylishen
Hi Riccardo, I looked in to this a bit more, and what I said before isn't really correct. -[NSImageRep draw] is a primitive method so subclasses must override it, so the error is really in PDFKit. Probably the simplest fix is to keep the PDFKit's -drawInRect: as-is, and add a draw method -

Re: String codification

2012-02-24 Thread Germán Arias
On 2012-02-17 00:56:57 -0600 Richard Frith-Macdonald rich...@tiptree.demon.co.uk wrote: On 17 Feb 2012, at 01:05, Germán Arias wrote: How can I convert a string to WIndows codification? I want do this for items at native Windows's menu, since WinUXTheme can't display properly

Re: String codification

2012-02-24 Thread Ondřej Hošek
On Fri, Feb 24, 2012 at 06:25:05PM -0600, Germán Arias wrote: Well, I tested today in a Windows 7, but with UTF16 don't works, so I tried with WindowsCP1252 and works fine. But I don't know if this encoding can be problematic for other languages. I did this change at line 302 in file

Re: String codification

2012-02-24 Thread Germán Arias
On 2012-02-24 20:45:22 -0600 Ondřej Hošek ondra.ho...@gmail.com wrote: On Fri, Feb 24, 2012 at 06:25:05PM -0600, Germán Arias wrote: Well, I tested today in a Windows 7, but with UTF16 don't works, so I tried with WindowsCP1252 and works fine. But I don't know if this encoding can be