[Qt] UTF8Decode in text painting functions

Paul Ishenin ip at kmiac.ru
Mon Jul 23 08:14:42 CEST 2007


Hello,  Items specific to the Qt widget set.

I dont know the reason that some text paint routines contain UTF8Decode 
calls but I fear some problems at least with TQtWidgetset.ExtTextOut.

So I replaced line:
WideStr := UTF8Decode(Str);

with
WideStr := Str;

and my problems disapeared. Please test and let me know why we need that.

just for note: I had problems with ide synedit painting. If this change 
is not right I'll revert it but anyway ide synedit painting should be 
solved.


--
Best regards,
Paul Ishenin.




More information about the Qt mailing list