Created attachment 105435 [details]
example odt file
Description of problem:
The direction of Chinese punctuations in vertical layout is different with horizontal layout. Punctuations are about 90 degree rotation from center of the characters.
In LibreOffice, the direction of Chinese punctuations are dealt with well in vertical layout. However, it didn't
Steps to Reproduce:
1. Click Format > Page, and switch to Page tab
2. Change Text direction into "Right-to-left (vertical)", then click Apply button
3. Paste "《「…」》" and press Enter
4. Paste "「…《English test 》…」" and press Enter
5. Paste "「…《中文直書測試》…」" and press Enter to compare with results of step 3 and 4
The displaying result of Chinese punctuations is different with 3 and 4; however, they should be all the same.
Displaying results of 3, 4 and 5 are all the same.
The attachment is an example odt file to show the issue here.
Well, some part of "description or problem" is missing. In the second paragraph,
> In LibreOffice, the direction of Chinese punctuations are dealt with well in vertical layout. However, it didn't
In LibreOffice, the direction of Chinese punctuations are dealt with well in vertical layout. However, it didn't function properly when Chinese punctuations are placed after Chinese characters. Those Chinese punctuations after Chinese characters are placed in horizontal directions instead of vertical directions.
Cannot confirm in Windows.
Tested on Windows machine with the example file today. Cannot reproduce either.
The issue seems to be only existed on Linux platform... :S
I found that "copy-paste" will also copy the the attribute of text direction, so do not copy the Chinese punctuations from Steps to reporduce section directly.
Please just use the example odt file to see the issue directly.
Reproducible on Linux platform.
Not reporducible on Windows platform.
Mac system is not tested.
Created attachment 109404 [details]
Screenshot from Ubuntu 14.10 LibO 4.4 alpha2
This is what I see. Is this the wrong rendering?
Ubuntu 14.10 64-bit Version: 22.214.171.124.alpha2+
Build ID: 5bff4b016c4b44f4123e0e6a4fd4c0c4dc0cfa2d
TinderBox: Linux-rpm_deb-x86_64@46-TDF-dbg, Branch:master, Time: 2014-11-13_00:14:29
It seems that you get the right result surprisingly!
I will check newer LibO on my fedora platform.
Created attachment 110296 [details]
Screenshot from Fedora 21 Beta LibO 4.4 Beta1
I test the example file with LibO 126.96.36.199 Beta 1 on Fedora 21 Beta today. However, I cannot reproduce your "right" result.
Here is my screenshot.
I do not know what could make a difference here. Maybe locale?
I confirm this on Ubuntu 14.04 with current master.
The punctuation is right on OSX even if almost nothing else is (unrelated OSX specific rendering issues)
+ Blocks the CJK metabug
I've commited a patch for this :
Cool! Happy to hear that! :)
Mark Hung committed a patch related to this issue.
It has been pushed to "libreoffice-5-0":
tdf#83252 - Wrong punctuation direction after Chinese characters in
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:
Affected users are encouraged to test the fix and report feedback.
Is this bug fixed?
If so, could you please close it as RESOLVED FIXED?
fixed confirmed in 5.1.5.
marking as resolved.