Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Better options for TrueType Fonts. #75
Comments
|
As far I've gotten the best option is to exclude the width (use a width of There's no options for fine tuning the font size, but now is a good time to make suggestions. |
|
I guess if I could wish for an API I would like the following: tcod.tileset.set_truetype_font("data/OpenSans-Regular.ttf", 24, 24, font_size=16, antialiasing=True)It would be cool to set an anchor point for the tiles where the bounding box of the font sits. Something like |
Hey! :)
I was playing around with TrueType fonts (OpenSans, Courier New, Fira Code) on MacOS. And it seems that the font is rendered to small in comparison to the tile size.
Is it possible to control the size of the font inside a tile?
There is also an issue with Fira Code (it doesn't render correctly). But I think that might be the custom glyphs they included in the font?