https://bugs.documentfoundation.org/show_bug.cgi?id=171334
Bug ID: 171334
Summary: EDITING: CJK indentation is disrupted by AutoCorrect
option "Delete spaces and tabs at beginning and end of
paragraph"
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
Some English documents have first line indents to signify the start of a
paragraph. I am aware that this is managed through the First Line Indent
paragraph style.
CJK typography also has first line indents. However, instead of using paragraph
styles, we sometimes use two consecutive full-width space characters (U+3000, '
'). There are two reasons for this decision:
1. Contrary to English typesetting, the size of the indent of CJK text is not
negotiable; it should always be fixed to 2ic (ic being the width of a CJK
ideographic character).
2. The size of the indent should change when using larger point sizes.
However, when the AutoCorrect options "Delete spaces and tabs at beginning and
end of paragraph" and "Delete spaces and tabs at end and start of line" are
checked, Writer automatically removes full-width spaces meant for CJK
indentation. This behavior is undesirable.
Considering the large size of the full-width space, it is highly unlikely that
anyone would place one at the start of a paragraph by mistake. I therefore
propose to make the full-width space exempt from autocorrection (at least at
the start of the paragraph), to honor CJK indentation conventions.
Steps to Reproduce:
1. Open a new Writer document.
2. Tools > AutoCorrect > AutoCorrect Options > Options > check all checkboxes
related to "Delete spaces and tabs at beginning and end of paragraph" and
"Delete spaces and tabs at end and start of line".
3. Paste the text " 我與父親不相見已二年餘了,我最不能忘記的是他的背影。" into the document.
4. Hit Enter.
Actual Results:
The full-width spaces " " disappear.
Expected Results:
The full-width spaces should stay.
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 25.8.5.2 (X86_64)
Build ID: 9c8b85f387cc00a89945a79c9e6239f32e450ac2
CPU threads: 8; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster;
VCL: win
Locale: zh-TW (zh_TW); UI: en-US
Calc: threaded
OS: Windows 11, version 25H2
--
You are receiving this mail because:
You are the assignee for the bug.