Created attachment 79779 [details]
a screenshot showing problem
Chinese paragraph start with space width as 2 Chinese characters in the beginning of paragraphs.
As of 184.108.40.206, there is still problems with "Auto" indent.
Steps to reproduce:
1. Change paragraph language to Simplified Chinese
2. Edit paragraph style and set indent "auto"
See the screenshot, only one Chinese character space was left in front of main text.
Leave space width as of two Chinese characters in front of main text.
Operating System: All
Version: 220.127.116.11 release
Created attachment 80041 [details]
Thanks to @oweng using his time to create this sample
He also summarize and expand my question.
AOO#85257 is a related bug;
the CJK macro package for LaTeX introduced a \CJKindent macro in v4.5.1 on 17 June 2002 that was set to two ideographic spaces.
oweng did excellent job analysing my question. So I can confirm this bug.
@Rots52 mentions: "As we have a comment yet from a Japanese native speaker, I just check about 10 Japanese books written vertically or horizontally. I always see only a 1 character (double byte) indent. Thus for me the default indent in Japanese is correct."
The auto indent currenly used for Chinese, might have been implemented in Japanese way as there is japanese people actively working on OpenOffice/LibreOffice. :) It looks like I need to get a Chinese developer to handle this behaviour for Chinese paragragh.
In FOSS, Chinese owe Japanese a LOT, thank you. You did better than none LOL.
The People's Republic of China national standard [中华人民共和国国家标准] GB/T 9704-2012 "Layout key for official documents of Party and government bodies" [党政机关公文格式] does provide clear examples on pages 13-23 of the leading two-character indentation for Chinese text:
This version (2012) replaces the earlier GB/T 9704-1999, which evidently specified in words the same thing under 8.2.3:
Translation: Leave 2 characters space on first line of each paragraph.
This earlier version of the standard also includes similar examples of page layout at the end.
Thanks Jiero for indicating the earlier document.
As a result of details in related Apache OO bug, Version set to Inherited From OOo.
In version 4.3.2, set first line indent to "2 字" or "2 ch" will work.
If you want all your documents do be indent 2 chars, please set your "Text Body" style and save it as default template.
(I realized that "字" should be “字符" here. Translation has been revised and will be reflacted in 4.3.3 release. So start from version 4.3.3, input "2 字符" or "2 ch" instead)
As this easy workaround, set "Importance" to "Medium Normal".
(In reply to Kevin Suo from comment #5)
> In version 4.3.2, set first line indent to "2 字" or "2 ch" will work.
> If you want all your documents do be indent 2 chars, please set your "Text
> Body" style and save it as default template.
> (I realized that "字" should be “字符" here. Translation has been revised and
> will be reflacted in 4.3.3 release. So start from version 4.3.3, input "2
> 字符" or "2 ch" instead)
> As this easy workaround, set "Importance" to "Medium Normal".
I don't get 4.3.2 installed yet; as in default, your test run can be little rough.
Yes, I agree it is an easy hack but problem isn't solved by changing the translation. It was a dirty hack assuming the user ONLY work with text size 12.
Auto-indent works well actually, on Japanese language which have one glyph as indent. All we need is an added rule to get it up for Chinese. Locate the code and hack it, sorry, I'm still not looking up the codebase myself as Im lazy to learn coding (and lazier to be in a project) while it impress me this bug - one complained by thousands as a major headache/denial to Chinese users over years is not fixed. Ha, stupid Chinese just won't do anything but translations and bug reportings. How smart :S
Mark Hung committed a patch related to this issue.
It has been pushed to "master":
Fix tdf#64975: FORMATTING: autoIndent for Chinese should be two
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:
Affected users are encouraged to test the fix and report feedback.
Confirm fixed in
Version: 18.104.22.168 (x64)
Build ID: ecd3574d51754b043f865cf5bafee286d24db7cc
CPU Threads: 4; OS Version: Windows 6.19; UI Render: GL;
Locale: zh-CN (zh_CN)
Mark as RESOLVED FIXED.
Any plan to backport this to 5.0 branch?