diff options
| author | Saburo Yoshida <yosi3260+tdf@gmail.com> | 2026-03-13 19:11:57 +0900 |
|---|---|---|
| committer | Khaled Hosny <khaled@libreoffice.org> | 2026-03-18 14:40:55 +0100 |
| commit | b155465ef853cb61fa67e61c26fff27027850826 (patch) | |
| tree | 25f522a7d8334fcfb46524771f5b1ef0d48c26eb /icon-themes/oxygen/res/sx03251.png | |
| parent | e9751e7b7d9272d78692df7fd72fb643c686e4f8 (diff) | |
tdf#171262 Fix Full-width bracket mapping in GetCharTypeForCompressionHEADmaster
When Asian layout compression is enabled, full-width brackets in text
boxes were overlapping due to incorrect character type assignment.
In the context of Asian typography compression:
Opening brackets (e.g., U+FF08 '(') have space on their left side and
occupy the right side of the character cell. Thus, they should be
categorized as AsianCompressionFlags::PunctuationRight.
Closing brackets (e.g., U+FF09 ')') have space on their right side and
occupy the left side of the character cell. Thus, they should be
categorized as AsianCompressionFlags::PunctuationLeft.
This commit swaps the following full-width characters to their correct
compression categories to prevent abnormal overlapping:
Move U+FF08, U+FF3B, U+FF5B to PunctuationRight
Move U+FF09, U+FF3D, U+FF5D to PunctuationLeft
Corrects the regression from 3548c92453b9d0d85270bc6309a91c4107e49685.
Change-Id: I3320b7d931eb3b399978198c7772a6edcf2b9725
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201608
Tested-by: Jenkins
Reviewed-by: Khaled Hosny <khaled@libreoffice.org>
Diffstat (limited to 'icon-themes/oxygen/res/sx03251.png')
0 files changed, 0 insertions, 0 deletions
