YimMenu / HorseMenu

HorseMenu, a beta-stage mod menu for Red Dead Redemption 2 and Red Dead Online, inspired by YimMenu, that protects against crashes and enhances your experience.
68 stars 32 forks source link

Use base85 encoded font #31

Open tyackman opened 1 year ago

tyackman commented 1 year ago

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

Yimura commented 1 year ago

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 commented 1 year ago

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.