Sign in to follow this  

SDL TTF text cut off

This topic is 1671 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

As you can see from the picture when I render text from a certain font that I found it cuts off the top. Another similar font cut off the bottom. When I print using lazy.ttf from LazyFoo's tutorials it works fine. Is there something wrong with the fonts that I am using? I am using Pokemon GB from here. I am blitting using the entire surface (null for the srcRect).

Share this post


Link to post
Share on other sites
I have experienced similar problems with fonts edited with FontForge. The original font worked fine with SDL_ttf but when exported from FontForge part of the text was cut off.

Share this post


Link to post
Share on other sites
Sign in to follow this