grimfang4 / SDL_FontCache

A generic font caching C library with loading and rendering support for SDL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blended vs Solid Rendering

SimonDoesGit opened this issue · comments

I would like to be able to choose between drawing blended (anti-aliased) or solid (aliased) text in a game I'm working on, but SDL_FontCache only allows for drawing blended text. How could I change it to allow for one to pick one rendering style or the other?

You may be looking for FC_SetFilterMode() using the FC_FILTER_NEAREST filter value.

Thank you