Hi All,
I want to use different font attribute (italic,bold, different colors)in my application. so at runtime how i can change font attribute(italic,bold, different colors)etc.
Regards
Parul
Font
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Font
Italic and bold are technically attributes of the source font. Many other systems do have provision whereby these attributes can be faked (by skewing for italics, and smudging for bold) though for the time being I have no plans to implement this kind of thing in cegui.
Colour can be changed by splitting text into sections and rendering each section in the desired colour(s).
CE.
Colour can be changed by splitting text into sections and rendering each section in the desired colour(s).
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: Font
CrazyEddie wrote:Colour can be changed by splitting text into sections and rendering each section in the desired colour(s).
CE.
Can this be done in the MultiLineEditbox? Of not, what widget supports this and how do I do it?
I am using an MLEB to display some data and would like to change the font and/or font color for each section of data being displayed.
for example:
Title
data here
or
Title
data here
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 14 guests