[Libreoffice-bugs] [Bug 129448] New: FORMATTING: Line spacing (wrongly) affects automatic first-line indent of Chinese text

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 17 13:24:46 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=129448

            Bug ID: 129448
           Summary: FORMATTING: Line spacing (wrongly) affects automatic
                    first-line indent of Chinese text
           Product: LibreOffice
           Version: 6.2.8.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: plateauwolf at qq.com

Description:
Forwarding a bug report discovered during discussion in a Chinese LO discussion
group.

In mainland China (and I've heard in other places that uses CJK text, too),
it's conventional to use "two-character width" indent for the first line of a
paragraph.  LO correctly implement this with automatic first-line indent for
Chinese text.

However it seems to only work for single spacing, and changing the line spacing
to anything else proportional would change the indent width as well.

Steps to Reproduce:
1. Create a new document with Writer;
2. Type or paste a paragraph of Chinese text (at least two lines for better
visual cues), leave them in "Default Style", not "Text Body";
3. Set the first-line indent to automatic (either directly change paragraph
format or modify the paragraph style, then "Indents & Spacing" tab -> Indent ->
check the box in front of "Automatic" under "First line"), also make sure the
"Line Spacing" on the same tab is "Single";
4. Notice that the first line is nicely indented by two characters, so far so
good;
5. Go back to the Format/Style dialog, same "Indents & Spacing" tab, change
"Line Spacing" to "Double".

Actual Results:
The first line is now indented by four character's width

Expected Results:
The first line indent keeps at two character's width


Reproducible: Always


User Profile Reset: Yes



Additional Info:
The effect is proportional to the spacing, as "1.5 Lines" spacing gives
three-character-width indent.  The "At least" spacing doesn't seem to affect
the indent.

I don't know what the indent convention for western text is, and whether it
should depend on line spacing; but for Chinese (and I assume most other CJK)
text, it should keep constant regardless of the line spacing.

The original reporter uses LO 6.2.8 on Windows:
版本: 6.2.8.2 (x64)
Build ID: f82ddfca21ebc1e222a662a32b25c0c9d20169ee
CPU 线程: 8; 操作系统: Windows 10.0; UI 渲染: 默认; VCL: win; 
区域语言: zh-CN (zh_CN); UI 语言: zh-CN
Calc: threaded

I can reproduce on both 6.3.4
版本: 6.3.4.2 (x64)
Build ID: 60da17e045e08f1793c57c00ba83cdfce946d0aa
CPU 线程: 2; 操作系统: Windows 10.0; UI 渲染: 默认; VCL: win; 
区域语言: zh-CN (zh_CN); UI 语言: zh-CN
Calc: threaded
... and 6.4.0 beta1
Version: 6.4.0.0.beta1 (x64)
Build ID: 4d7e5b0c40ed843384704eca3ce21981d4e98920
CPU threads: 2; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; 
Locale: zh-CN (zh_CN); UI-Language: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191217/401225a8/attachment.htm>


More information about the Libreoffice-bugs mailing list