Page 1 of 1

Font

Posted: Mon Mar 21, 2005 04:18
by parul
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

Re: Font

Posted: Mon Mar 21, 2005 11:01
by CrazyEddie
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.

Re: Font

Posted: Tue Jul 04, 2006 01:01
by Van
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