Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


SDL TTF text cut off


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 menohack   Members   -  Reputation: 216

Like
0Likes
Like

Posted 20 June 2013 - 02:06 PM

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

Attached Thumbnails

  • FontProblem.jpg


Sponsor:

#2 Wooh   Members   -  Reputation: 651

Like
0Likes
Like

Posted 20 June 2013 - 03:43 PM

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS