pygame-community / pygame-ce

🐍🎮 pygame - Community Edition is a FOSS Python library for multimedia applications (like games). Built on top of the excellent SDL library.
https://pyga.me
770 stars 120 forks source link

Port `TTF_SetFontHinting` #2829

Open narilee2006 opened 2 months ago

narilee2006 commented 2 months ago

This could have a lot of uses, specifically for pixel art games.

![image](https://github.com/pygame-community/pygame-ce/assets/129836777/8d8810f7-47b5-415d-b88a-cb326fc781f4)

Here is my proposed API design.

font = pygame.Font(None, 25);
font.font_hinting = pygame.FONT_HINTING_NORMAL;

I would like to be assigned to this issue!