New issue
 Projects > cocos2d-x > Issues > Feature #2487

New Label TTF: add Dynamic mode

Feature #2487 [New]
cmorgantini 2013-08-06 19:59

With dynamic mode, the (new) Label will update the font-atlas dynamically and automatically, based on the text/glyphs the user will request to render.
Currently, when using a TTF font, the new Label system requires the client code to specify all the glyphs that will be used for rendering the text itself beforehand.
This works fine with western languages, but could potentially be a problem when using richer alphabets (i.e. Chinese).
This new mode (dynamic) will still allow the client to hint at the most used glyphs, but will also update the font/atlas whenever client will request to render glyphs not explicitly requested when initializing the font.

Atom PDF

Start date:2013-08-07
Due date:
% Done:


Target version:-
Estimated time:40.00 points