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

            Bug ID: 97208
           Summary: CJK FORMATTING: Indent is set to "2 characters" but
                    paragraph is not indent as two characters
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

For Chinese language, if you set the paragraph indent to "2 characters", the
actually paragraph format is not shown as two characters indent. It is shown as
two characters indent only if the font size is the default (in my system it's
10.5).

-----

Steps To Reproduce:

1. Make sure character unit is enabled in Settings -> LibreOffice Writer ->
General.

2. Copy the following chinese paragraphs into Writer:
'''
关于首行缩进2个汉字的问题:LibreOffice是支持首行以字符缩进的,但是缩进并不是真的按照真的字符,他会把字符强行换算成厘米。只有字体大小是五号的时候才是缩进了两个字符。
举个例子,当字体是小四号的时候,经过测试,当字体是小四的时候,需要把缩进设置成 2.29字符 才会与下一行的第三个字对齐。
'''

3. In paragraph settings, set 'Indent -> First line' to '2.00 ch', OK.
--> Result: Paragraph first line indent is correctly 2 characters only when the
font size is 10.5. The indent is not 2 chars when font size is not 10.5.

-------

Reproducible in
Version: 5.1.0.2 (x64)
Build ID: ecd3574d51754b043f865cf5bafee286d24db7cc
CPU Threads: 4; OS Version: Windows 6.19; UI Render: GL; 
Locale: zh-CN (zh_CN)
Win10 x64
Bug also exists in prior versions. May be inheritated from OOo.

The related code may be:
http://cgit.freedesktop.org/libreoffice/core/tree/sw/source/core/text/itrcrsr.cxx

There is a related discussion in the Chinese LibreOffice Discussion Forum:
http://www.libreofficechina.org/thread-1440-1-1.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to