Page 1 of 1

is there a function to apper text in bold

Posted: Thu Feb 21, 2013 12:44 pm
by smohd1338
Hi, In transformer am writing down a text, but i want some of the strings of teh text to be bold? is there a fucntion to taht?

Posted: Thu Feb 21, 2013 2:09 pm
by chulett
You want them to be bold where? Your target would need to be something that supported bolded fonts...

Posted: Thu Feb 21, 2013 3:03 pm
by ray.wurlod
There is only a single typeface choice in the client tools.

If you know the target's technique for handling "bold on" and "bold off" you could include those in the generating expression, for example
svBoldON <-- Char(27) : "[5"
svBoldOFF <-- Char(27) : "[0"
Expression: "I am very " : svBoldON : "emphatic" : svBoldOFF : " about this".

But beware that such sequences are very terminal/printer specific.

A better, though more complex, approach would be to get the values out of something like a termcap database.