Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font code Improvement #220

Open
Zefz opened this issue Dec 28, 2015 · 0 comments
Open

Font code Improvement #220

Zefz opened this issue Dec 28, 2015 · 0 comments

Comments

@Zefz
Copy link
Contributor

Zefz commented Dec 28, 2015

Continue work on #218:

Rewrite how TrueType fonts are handled; the code now uses atlases and vertex buffers instead of a texture for each string of text.

TODO:

Finish adding support for the new layoutText API in GUI
Relayout text as needed
Remove caches for sizeText and drawText
TODO, eventually:

Move the UTF-8 to codepoints code and expand it to support all UTF-8-encodable codepoints (SDL_ttf only supports 16-bit codepoints)
Split the Font class into a base Font class and TTFont and BitmapFont subclasses

@michaelheilmann michaelheilmann changed the title Font Code Improvement Font code Improvement Feb 13, 2018
@michaelheilmann michaelheilmann added this to the Egoboo 3.5 milestone Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants