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

Added on the fly glyph rendering to FreeTypeFontGenerator. #2973

Merged
merged 1 commit into from Mar 24, 2015

Conversation

Projects
None yet
2 participants
@NathanSweet
Copy link
Member

NathanSweet commented Mar 24, 2015

This allows FreeTypeFontGenerator to create a BitmapFontData that renders glyphs as they are encountered so we can support fonts for languages that have many glyphs. See FreeTypeIncrementalTest.

The red boxes at the top are the glyph atlas pages, purposefully made tiny for testing. Better packing (a skyline variant) can be implemented in the future, for now it uses PixmapPacker as it used to.

I don't believe this breaks much, if anything, except that BitmapFont regions changes from TextureRegion[] to Array<TextureRegion> so adding a region on the fly is easier.

Related to #1589.

@NathanSweet NathanSweet merged commit d841924 into libgdx:master Mar 24, 2015

@CrowniAPIs

This comment has been minimized.

Copy link

CrowniAPIs commented Oct 7, 2017

RTL languages like Arabic not just direction from RIGHT to LEFT, but how connect their letters with each other and some letters as a block with 2 or more letters.
So, I do it with fully supporting RTL language.
https://github.com/CrowniAPIs/libGDX-RTL-Language

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment