Re: [Development] Possible bug in Qt Text Engine

2016-03-15 Thread Konstantin Ritt
Hi, Did you file a bug report? ML is not really the right place for reporting bugs. Briefly, the CJK characters in your text are covered by some fallback font for which the font metrics are slightly different, so that the line height is the sum of a max ascent, max descent, and max leading (see

[Development] Possible bug in Qt Text Engine

2016-03-15 Thread Ziming Song
Hi everyone, I have been fighting with this bug for over a year, but till now I can't find a satisfying solution, so I came here. I use QPlainTextEdit to implement my own code editor widget, much like the tutorial does. The widget works fine, except it displays CJK characters with a