Re: [Pythonmac-SIG] Problems with CoreGraphics API post-Snow Leopard

2012-04-19 Thread João Leão
On Apr 19, 2012, at 10:16 AM, Ronald Oussoren wrote: > > On 17 Apr, 2012, at 17:48, João Leão wrote: > >> Hi list >> >> I have an old script using the CoreGraphics API that's no longer working >> properly since Snow Leopard. >> I' running Lion with the default Python, which is 2.7.1. >> I goo

Re: [Pythonmac-SIG] Problems with CoreGraphics API post-Snow Leopard

2012-04-19 Thread Ronald Oussoren
On 17 Apr, 2012, at 17:48, João Leão wrote: > Hi list > > I have an old script using the CoreGraphics API that's no longer working > properly since Snow Leopard. > I' running Lion with the default Python, which is 2.7.1. > I googled about this and it seems that's because Python is 64-bit now an

Re: [Pythonmac-SIG] Problems with CoreGraphics API post-Snow Leopard

2012-04-17 Thread João Leão
> João Leão wrote: > >> But now I'm getting another error (and I'll probably get some more) with >> another function that expects a CGFloat object instead of a plain integer. >> The code looks like this: >> --- >> self.pdf.drawPlainTextInRect(text_prov, textRect, 10) >> --- >> >> And the error

Re: [Pythonmac-SIG] Problems with CoreGraphics API post-Snow Leopard

2012-04-17 Thread Bill Janssen
João Leão wrote: > But now I'm getting another error (and I'll probably get some more) with > another function that expects a CGFloat object instead of a plain integer. > The code looks like this: > --- > self.pdf.drawPlainTextInRect(text_prov, textRect, 10) > --- > > And the error (again cause

[Pythonmac-SIG] Problems with CoreGraphics API post-Snow Leopard

2012-04-17 Thread João Leão
Hi list I have an old script using the CoreGraphics API that's no longer working properly since Snow Leopard. I' running Lion with the default Python, which is 2.7.1. I googled about this and it seems that's because Python is 64-bit now and some old data types don't work anymore. The first err