SDL TTF text cut off

Started by
0 comments, last by Wooh 10 years, 10 months ago

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).

Advertisement
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.

This topic is closed to new replies.

Advertisement