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

Use base85 encoded font #31

Open
tyackman opened this issue Oct 8, 2023 · 2 comments
Open

Use base85 encoded font #31

tyackman opened this issue Oct 8, 2023 · 2 comments

Comments

@tyackman
Copy link
Contributor

tyackman commented Oct 8, 2023

We should use AddFontFromMemoryCompressedBase85TTF instead of AddFontFromMemoryTTF. AddFontFromMemoryTTF is gei, so is binary bloat :(

@Yimura
Copy link
Member

Yimura commented Oct 8, 2023

The font isn't the one adding to the bloat sadly, it's the Lua library and the curl library.

Edit:
This is not the YimMenu repository, my bad.

@MarkEcza
Copy link
Contributor

MarkEcza commented Oct 8, 2023

We should use AddFontFromMemoryCompressedBase85TTF instead of AddFontFromMemoryTTF. AddFontFromMemoryTTF is gei, so is binary bloat :(

I didn't really care about binary size as it's still under 2mb's and doesn't really effect much but yeah i can take that as an worthy suggestion.

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

3 participants