Add freetype and better font scaling #117

Merged
FakeMichau merged 2 commits from freetype into for-fun 2024-11-19 10:51:42 +00:00
FakeMichau commented 2024-11-18 22:08:14 +00:00 (Migrated from github.com)

Switches from stb_truetype to FreeType and adds required credit. Also creates a copy of the font that is used for UI scales above 1.0.

Difference at 1.0 scale:
1 0 scale

Difference at 0.5 scale:
0 5 scale

Difference at 2.0 scale:
2 0 scale

Switches from stb_truetype to FreeType and adds required credit. Also creates a copy of the font that is used for UI scales above 1.0. Difference at 1.0 scale: ![1 0 scale](https://github.com/user-attachments/assets/556afa0f-b9a4-40ca-ab7d-22da72113a1c) Difference at 0.5 scale: ![0 5 scale](https://github.com/user-attachments/assets/26a3699e-f529-4f22-8d29-2e90ea0da878) Difference at 2.0 scale: ![2 0 scale](https://github.com/user-attachments/assets/683d0757-e1fc-4cba-ad80-43806a8ba106)
Sign in to join this conversation.
No description provided.