We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Color or highlight words within a text
Page Index Toggle Pages: 1
Color or highlight words within a text (Read 874 times)
Color or highlight words within a text
Jun 25th, 2009, 8:57am
 
Is there an easy way to color or use a different font(bold) for parts of a text? or do i really have to split it, calculate the width and put it back together. Is there an easier way to do that ?
Re: Color or highlight words within a text
Reply #1 - Jun 25th, 2009, 12:22pm
 
No.
Re: Color or highlight words within a text
Reply #2 - Jun 25th, 2009, 12:34pm
 
hmm. not the answer that i wanted to hear but it makes it pretty clear Smiley

I can remember there was a library, or scipt or something a saw a while ago where somebody created a rainbow text effekt. Maybe i could use it somehow if i find it again... lets see... thx anyway
Re: Color or highlight words within a text
Reply #3 - Jun 25th, 2009, 1:12pm
 
Yes, by the No, I meant it with standard Processing.
You might find a library doing the hard job for you, but basically it would be the stuff you described.
Ideally, we would have an HTML display component... Smiley
Page Index Toggle Pages: 1