Original Post
Salutations to everyone, I didn't know where to post this topic because there are a few issues at hand. Let me give you the background... I'm working on my first engine, and it's comming along verrry nicely, but anyway, I'm currently coding my Font manager -- a class to handle the loading/caching of fonts. My engine is SDL-based, so I decided to use SDL_ttf; however, the TTF_Font structure has to store a new instance for each font, size, and face combination. So obviously, the more flexibility I give to my engine, the more ram it's going to use. My questions are: 1. Are there any other good font libraries for SDL that are a little more general in storing loaded fonts? 2. What are some ways I can/should cut back on ram? (e.g. Only provide users with 3 font sizes (small, medium, and large), garbage collect unused fonts, etc.)