It is found that in the stable releases (till 2.11.0), and on multiple platforms (linux/windows) and multiple qt version (4/5), the full-width punctuation parentheses are handled incorrectly. This issue occurs when the paired of parenthesis or bracket are shown and rendered, moreover when the cursor moves, it just not jumps over two spaces but only single space, and the texts are a bit overlapped. The problem is found with the symbols as below: ()《》〈〉〔〕[]【】{}「」『』〖〗.
At the same time, the texworks editor (also qt based) works fine.
you example appears as gibberish. Please add a file (utf8)
And probably give a step by step instruction on what to do to see the problem.
Last edit: Jan Sundermeyer 2016-06-06
The symbols are mostly related to the Unicode block: Halfwidth and Fullwidth Forms and the other Unicode block: CJK Symbols and Punctuation.
It is easy to reproduce the issue, just open the sample.tex and move the cursor to the head of the line then press the right arrow key until reaching to the end of the line. However, the cursor’s position is not located at the end of the line. This bug also occurs when selecting this characters by mouse.
Moreover, there are some helpful tools explore and analysis the Unicode characters and the fonts, Babelmap tool (running on windows only, http://www.babelstone.co.uk/Unicode/babelmap.html) from Dr. Andrew Christopher West, who is a great linguist and Sinologist. Secondly, the open source large-code-coverage font, Source Han Sans from Adobe and Google (https://github.com/adobe-fonts/source-han-sans), is quite a graceful essential to display the font correctly. Hope this will be useful for you, honorable, lovely, developers.
Last edit: Chong Lu 2016-06-06
QCodeEdit assumes all characters have the same width, because then the rendering becomes faster
There is the option "disable fixed pitch mode" to disable that
Yes, it works indeed! Thanks to all people. Please close the bug.