How to setting font size to target style.
Moderators: CEGUI MVP, CEGUI Team
-
- Just popping in
- Posts: 6
- Joined: Sat May 10, 2008 18:00
How to setting font size to target style.
How can I setting xml attributes or other way to display "target" font style.
Can CEGUI set font height by pixel scale ? or point scale only ?
Thanks for advanced.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Hi,
I don't understand the question completely, but will try my best...
For freetype based fonts (those with an associated TTF file, or whatever) then the size is always specified as point size.
As far as "style" goes, I do not really understand; do you mean things such as bold and italic? If so, these are actually attributes of the ttf font itself - so you need appropriate versions of the font. I know that operating systems get around this and 'fake' it where a real font with the required style is not available, though at the moment we do not have such an ability.
If this is not what you meant, please let us know
CE.
I don't understand the question completely, but will try my best...
For freetype based fonts (those with an associated TTF file, or whatever) then the size is always specified as point size.
As far as "style" goes, I do not really understand; do you mean things such as bold and italic? If so, these are actually attributes of the ttf font itself - so you need appropriate versions of the font. I know that operating systems get around this and 'fake' it where a real font with the required style is not available, though at the moment we do not have such an ability.
If this is not what you meant, please let us know
CE.
Who is online
Users browsing this forum: No registered users and 9 guests