Have you noticed that when trying to draw a italic font the characters are "cut"?
Well, I think an image will be better. Just check the character 'N', or 'm':
I think this happens because the drawing method "reserves" a "box" for drawing each character, and as it's italic, the character is drawn outside the box.
Any way to manage this?
Two things- which OS are you on, and which font do you use? And, you can attach your image via the 'attach' link after posting. Can't see your image right now because this domain hasn't been registered :)
I'm on Windows 7 with C++
The font was created with Gosu::Font(graphics(), Gosu::defaultFontName(), 20, 0);
Image has been attached to the 1st post ;)
Okay, noted. Thanks for reporting!
Still having issues with an italic font cutting off the right-hand side of the characters. I guess the issue is that the character-image-width is set to equal to the character spacing, so any right-overhang gets cut off. Any chance that the images could be 50-100% wider than the space they need - that should allow for any overhang.
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill