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

Reduce the size of the sheets created for fonts. #14376

Merged
merged 1 commit into from Nov 19, 2017

Commits on Nov 17, 2017

  1. Reduce the size of the sheets created for fonts.

    - A 512x512 sheet is about half full after precaching and some usage, but uses 16x less memory than the default 2048x2048 sheet. This saving occurs twice as we maintain a managed buffer for this sheet.
    - Only precache smaller fonts, as the larger fonts are less used and take up more space than is worthwhile.
    - Only precache in white, as red is largely unused.
    RoosterDragon committed Nov 17, 2017
    Copy the full SHA
    54dbcb1 View commit details
    Browse the repository at this point in the history