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 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.