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 - double_trouble

Pages: [1]
1
Graphics / Re: Shifting italic style text
« on: November 08, 2017, 11:00:19 pm »
Ok, but the problem is not in shifting itself, is there any ways to find the angle of slope?
It is called "italic angle" here https://developer.apple.com/library/content/documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/Art/textpg_intro_2x.png

2
Graphics / Re: Shifting italic style text
« on: November 08, 2017, 10:02:45 pm »
Hm, in another words, when we take regular style text and do text.setStyle(sf::Text::Italic), the text shifts to 12 degrees to the right and I need the reverse operation: shift italic back to regular.

3
Graphics / Shifting italic style text
« on: November 08, 2017, 09:08:28 pm »
Hello!
My program solves the task of creating multiple images from background and text. I use sf::Font, sf::Texture, sf::Text and sf::RenderTexture. The problem is that I need to shift the letters in italic fonts until they become straight (I mean loaded italic fonts, not modifyed by SFML). So, is there the way to do it?
Thanks for attention.

Pages: [1]