On Wed, Jan 4, 2012 at 05:56, Lenard Lindstrom wrote:
> Hi,
>
>
> On 02/01/12 05:45 AM, Radomir Dopieralski wrote:
>>
>> I think that this comment is related to this problem:
>> http://archives.seul.org/pygame/users/Jan-2004/msg00035.html
>
> No, this is a different problem. pygame.font.Font proba
Hi,
On 02/01/12 05:45 AM, Radomir Dopieralski wrote:
I think that this comment is related to this problem:
http://archives.seul.org/pygame/users/Jan-2004/msg00035.html
No, this is a different problem. pygame.font.Font probably could not
find the default font file and segfaulted rather than thro
I think that this comment is related to this problem:
http://archives.seul.org/pygame/users/Jan-2004/msg00035.html
On Mon, Jan 2, 2012 at 13:46, Russell Jones wrote:
> In summary, the font reading function in SDL relies on a filename, so as it
> stands, reading from a file-like object won't work.
In summary, the font reading function in SDL relies on a filename, so as it
stands, reading from a file-like object won't work. Covering the buffer to
a string causes the data to be interpreted as a filename, which
unsurprisingly gives an IOError saying the font filename can't be read
(line 600 of
I had a little play with this, and the following segfaults, too (on OS X
10.7 w/ Macports Python 2.7 and pygame 1.9.1)
import pygame
import io
pygame.font.init()
f = open("/opt/local/share/wine/fonts/symbol.ttf", "r")
font = pygame.font.Font(f, 8) # Works fine
f.close()
f = open("/opt/local/sha
Hi guys, could someone please give me the address I email to start a new thread
because the one I keep trying to email is not working
-Zack
On Jan 1, 2012, at 5:50 AM, Radomir Dopieralski wrote:
> Hello everyone,
>
> I'm having a problem loading a font file from a python file-like
> object.