damn.
i just forgot:
win = window.Window()
sorry.
On 4 oct, 18:44, BenO <[EMAIL PROTECTED]> wrote:
> from pyglet import font
> from pyglet import window
>
> ft = font.load("Arial", 12)
>
> ---------------------------------------------------------------
>
> Traceback (most recent call last):
> File "E:\projets\pyglet test1\test.py", line 4, in <module>
> ft = font.load("Courier", 12)
> File "E:\dev\Python25\lib\site-packages\pyglet\font\__init__.py",
> line 526, in
> load
> shared_object_space = get_current_context().object_space
> AttributeError: 'NoneType' object has no attribute 'object_space'
>
> any idea ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---