iamgreaser / iceball

Open-source rewrite of the VOXLAP version of Ace of Spades.
http://iceball.build
GNU General Public License v3.0
114 stars 32 forks source link

TTF support #75

Open rakiru opened 11 years ago

rakiru commented 11 years ago

TTF support instead of having to make bitmaps of fonts. This would allow easier customisation, as well as make #36 feasible.

Link that Dany0 thinks could be useful: http://lazyfoo.net/SDL_tutorials/lesson07/

asiekierka commented 11 years ago

Freetype2 is a bloated dependency, although there IS a very minimalist TrueType library out there... (1 30KB C file or so)

dany-on-demand commented 11 years ago

@asiekierka I found this http://mollyrocket.com/forums/viewtopic.php?t=736

Did you mean that?

asiekierka commented 11 years ago

@Dany0 Exactly. We could integrate that, if we really need TrueType.

rakiru commented 11 years ago

We really need either TTF support or something similar to easily support custom fonts and scalable text (something I really want as I have to lean in and squint to read chat).

iamgreaser commented 11 years ago

We do have a way to stretch images with img_blit now.

rakiru commented 11 years ago

Unless we're stretching in whole numbers only, bitmap fonts are going to be difficult to read.

iamgreaser commented 9 years ago

No, we are not aiming to get this done by the Red Event.

fkaa commented 8 years ago

stb_ttf has quite poor quality (compared to FreeType) from what I've seen. My only concern with using FreeType would be adding it to the build instructions x_x