Peter Kümmel wrote:
Peter Kümmel wrote:Abdelrazak Younes wrote:- unsigned short sc = ucs4_to_ucs2(c); + QChar ucs4_to_qchar(c);Maybe like this: ;) + QChar sc = ucs4_to_ucs2(c);Argg!
double Argg! ;-)
+ QChar sc = ucs4_to_qchar(c);return m.width(sc) - m.rightBearing(sc); Abdel.