Hello, Anatoly.
I am using an old (couple of months) version of Pyglet 1.2 alpha and your
example works perfectly. So, while I don't know what causes the bug, it
seems to be fixed in the up coming version. :)
Cheers,
Zim
On Monday, 3 September 2012 01:31:11 UTC-5, anatoly techtonik wrote:
>
> Does anybody know why this works:
>
> font_family = 'Monospace'
> render = pyglet.text.Label('A', font_name=font_family)
>
> And this doesn't:
>
> font_family = ['Monospace']
> render = pyglet.text.Label('A', font_name=font_family)
>
> text.Label() doc says:
> `font_name` : str or list
> Font family name(s). If more than one name is given, the
> first matching name is used.
>
> I couldn't dig where this bug coming from. Maybe anybody already knows?
> pyglet HEAD, Linux
> --
> anatoly t.
>
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pyglet-users/-/ND6xkTXRDi8J.
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.