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
917 stars 152 forks source link

Enhancement: Add default pixel art font (2339) #1201

Closed GalacticEmperor1 closed 1 year ago

GalacticEmperor1 commented 1 year ago

Issue №2339 opened by robertpfeiffer at 2020-11-18 08:00:23

The easiest way to address #2314 is to add another default font asset in addition to FreeSans Bold, preferably a font that is legible at 8px, and released under CC zero.

HaxeFlixel also has two fonts, one serif, one pixely: https://github.com/HaxeFlixel/flixel/tree/dev/assets/fonts

Maybe we could eve use their font, but I'm not sure about the licensing situation, and this font is already associated with Flash and Flixel, branding-wise.

It should be available in ttf format (not just a sprite sheet), so it can be used with existing pygame font code, and at bigger sizes.

Another good candidate: https://fontlibrary.org/en/font/pixel-operator (this one is CC-zero, and thus could be distributed with Pygame without issues)

Alternatively, somebody could take a font like this one https://lpc.opengameart.org/content/bitmap-font and convert it to TTF with this tool. https://yal.cc/r/20/pixelfont/


Comments

Starbuck5 commented 1 year ago

I'm going to close this as not planned right now.

It's been a few years and it hasn't been taken up yet.