Created attachment 50517 [details] See the characters overlapping each other It only happens on Linux systems. How to reproduce? 1. Prepare CJK fonts first, and install them. 2. Open Writer.Choose "Format" > "Pages", and switch to "Page" tab. 3. Change "Text orientation" into "Right-to-left (vertical)" 4. Input or copy and paste some Chinese characters. Example, "中文輸入時中文字之間距過小,互相重疊。" The problem is that the cursor is not actually at the bottom of characters. While inputting Chinese characters, the cursor is about at half height of the characters. Thus, the head of next character overlaps the bottom of previous character. This is very series problem for CJK users, because those characters cannot be recognize well.
You can get a free and open Chinese font from below to test with: http://code.google.com/p/cwtex-q-fonts/source/browse/trunk/ttf/cwTeXQHei-Bold.ttf
(In reply to comment #1) > You can get a free and open Chinese font from below to test with: > http://code.google.com/p/cwtex-q-fonts/source/browse/trunk/ttf/cwTeXQHei-Bold.ttf I am using cwTeXHeiBold instead of cxTeXQHei-Bold. The site of cwTexHeiBold cannot be connected now [1], so I provide cwTeXQHei-Bold (edited one) as link. However, cwTeXQHei-Bold has more spacing when vertical, so it seems to be normal. You can download AR PL UMing [2] or WQY MicroHei [3] to see the difference between those two fonts. AR PL UMing has less spacing when vertical, and it will be overlapping like cwTexHeiBold. 1. http://cle.linux.org.tw/fonts/cwttf/baseline/cwheib.ttf 2. http://www.freedesktop.org/wiki/Software/CJKUnifonts/Download 3. http://sourceforge.net/projects/wqy/files/wqy-microhei/0.2.0-beta/
[This is an automated message.] This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it started right out as NEW without ever being explicitly confirmed. The bug is changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases. Details on how to test the 3.5.0 beta1 can be found at: http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1 more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
The bug is still there. Is it related to LibreOffice? Or may it be related to freetype or something else handling fonts rendering?
It is reproducible with any font or only with some?
Most of the fonts which contain Han characters (used in Chinese, Japanese, Korean) will cause that problem (reproducible).
@ Caolan Please, take look at this
The cursor is not located at the right bottom of each character. Most of the time, the cursor is on the middle or the 2/3 of one character, it makes confusion and make it hard to select characters and manipulate.
Thanks for additional testing. I have also reproduced this bug on Fedora (RFR) 64 bit using initial description. (4.1.0) Sorry, but "version" is most old version of LO where bug appears. Not a current version. If bug disappears we just closing bugreport. Changing version back to 3.4.2
OK, I got that. :P Thanks for your info.
I tested with LibreOffice 4.3.5.2 on fedora 21 today. The character-overlapping problem is much improved, but the cursor is not still right at the bottom of each character. The cursor is still higher than it should actually be.
This issue has the same root cause as tdf#40091, where character width instead of its height is used to advance the position in RTL vertical mode.
Mark Hung committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=21dc114a11138df497f05876979b82594c4ed1cd Fix tdf#40091 and tdf#40335 text layout issues. It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Mark Hung committed a patch related to this issue. It has been pushed to "libreoffice-5-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a4532151e3ca83488bc8fd255cc64971421b4517&h=libreoffice-5-0 Fix tdf#40091 and tdf#40335 text layout issues. It will be available in 5.0.3. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
confirmed fixed in 5.1.5.