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

Feature Request: load saved glyph cache texture for use in font #488

Open
alex-dot opened this issue Dec 21, 2020 · 0 comments
Open

Feature Request: load saved glyph cache texture for use in font #488

alex-dot opened this issue Dec 21, 2020 · 0 comments

Comments

@alex-dot
Copy link

I just realised that one couldn't load a prerendered glyph cache texture from file/data and plug it into a loaded font.

Or at least, I don't see how: The only glyph-related public functions in in AbstractFont are fillGlyphCache and createGlyphCache, which both (re-)generate the glyph texture.

Currently, the glyph texture generation takes most of the boot time and caching the font would speed that up quite a lot.

@mosra mosra mentioned this issue Dec 6, 2023
90 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant