My mistake, I found that I forgot to convert something in the strings, now everything seems to be fine.
Rolf Am 04.06.2012 16:14, schrieb Rolf-Werner Eilert: > Hi, > > In Gambas2 I'm drawing a RichText on a DrawingArea and I'm wondering why > it makes all line breaks but doesn't show any bold, italics and stuff. > > My experimental text string has some words bold, italics and so on. When > I show it in a TextLabel or a TextArea, no problem, everything appears > as expected. > > When I do > > Draw.RichText(sRichText, x, y, w, h) > > on the DrawingArea, however, the text is wrapped as expected but will > not show any bold, italics and so on letters, everything is plain Roman. > > Any idea how to overcome this? Or will I have to live with this limitation? > > Rolf > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user