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

            Bug ID: 160080
           Summary: Bad punctuation compression for CJK texts with
                    vertical text direction
           Product: LibreOffice
           Version: 24.2.1.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: ni...@live.cn

Description:
This is a bug about the typesetting engine. I cannot find any suitable
“Component”, so I just selected "LibreOffice".

This is a bug for all LibreOffice application (writer, impress, draw,...)

======

1. When one line is nearly full and the typesetting engine wants to compress
one line, the compression between other symbols and “「”(open quote), “」”(closed
quote) is bad

https://postimg.cc/Pp7jhn23

The compression should move open quotes further down and move closed quotes
more upward to make the quotes getting close to quoted texts. But the quotes is
too far away from the quoted texts. The open quote and the closed quote at the
second line even merged into one.

https://postimg.cc/QFSHj96p

BTW, with horizontal text direction, it seems OK.

https://postimg.cc/bGyTCt5W


2. When one line is loose, “(” and “)” is too away from quoted texts.

https://postimg.cc/f3MVY7Pt

Also, with horizontal text direction, it seems OK.

https://postimg.cc/NKsyH7Sy

Steps to Reproduce:
1. Go to “Options -> Languages and Locales -> Asian Layout”, select “Character
Spacing -> Compress punctuation only”, press “OK”.
2. Download and install I.Ming font.
3. Set format: A5 paper, I.Ming font, 22pt font-size, “Right-to-left
(vertical)” text direction.
4. Type test texts:
```
漢字漢字漢字、漢字漢字「漢字」漢字漢字漢字漢字。漢字漢字、漢字「漢字漢字」「漢字漢字」。漢字、漢字。

漢字漢字字漢字(漢字)字漢字。
```

Actual Results:
See “Description”。

Expected Results:
See “Description”。


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 8; OS: Windows 10.0 Build 17763; UI render: Skia/Raster; VCL: win
Locale: zh-CN (zh_CN); UI: en-GB
Calc: CL threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to