Popular recipes by Thomas Woelz http://code.activestate.com/recipes/users/4165953/2008-07-31T12:32:43-07:00ActiveState Code Recipespyglet or cocos2d rich text label (Python)
2008-07-31T12:32:43-07:00Thomas Woelzhttp://code.activestate.com/recipes/users/4165953/http://code.activestate.com/recipes/576399-pyglet-or-cocos2d-rich-text-label/
<p style="color: grey">
Python
recipe 576399
by <a href="/recipes/users/4165953/">Thomas Woelz</a>
(<a href="/recipes/tags/cocos2d/">cocos2d</a>, <a href="/recipes/tags/pyglet/">pyglet</a>).
Revision 7.
</p>
<p>Small changes to the Label classes in pyglet and in cocos2d, so the label (in cocos2d or pyglet) accepts pyglet's attributed text as well as plain text, and changing style of part of the document is also possible after it is created.</p>