Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - evilgoto

Pages: [1]
1
Graphics / Drawed sfString too small
« on: December 18, 2011, 09:06:35 pm »
Well, okay, sure. But is there any way to get the height of the tallest character in the string instead of the tallest possible?

2
Graphics / Drawed sfString too small
« on: December 18, 2011, 06:08:13 pm »
Hey,

I have a sfString with a size of 13px. I try to get the string's height via

Code: [Select]
string_h = rect.Bottom - rect.Top;
The result is - as the string's size - 13px.

Now, I draw the string via sfRenderWindow_DrawString() and take a screenshot of the running application; if I zoom in the screenshot via gimp, there is no char higher than 10px.

How can I get a string that is really 13px tall instead of 10px?

Pages: [1]