Bug 169491 - [26.2] Character Scale Width does not work
Summary: [26.2] Character Scale Width does not work
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: CJK Writer-Styles-Character
  Show dependency treegraph
 
Reported: 2025-11-17 12:56 UTC by nobu
Modified: 2025-11-17 23:40 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Sample Output (55.00 KB, image/png)
2025-11-17 12:59 UTC, nobu
Details
Sample odt (16.65 KB, application/vnd.oasis.opendocument.text)
2025-11-17 13:00 UTC, nobu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nobu 2025-11-17 12:56:12 UTC
Description:
Character Scale Width does not work.


Steps to Reproduce:
1. Open new Writer.
2. Insert Text "AAABBB".
3. Select Text "AAA".
4. Open Character dialog. ( Menu - Format > Character ) [ Alt + C ]
5. Position tab > Rotation / Scaling > Scale width : Change 100% to 50% .

Actual Results:
6. The width of "AAA" remains unchanged, while "BBB" appears partially overlapping.

Expected Results:
6. The width of "AAA" shrinks to 50%.


Reproducible: Always


User Profile Reset: No

Additional Info:

The following solution didn't work with the latest master version:
https://ask.libreoffice.org/t/libreoffice-writer/128934/2

Reproducible
[2025-09-17]
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d48fddcd2014c1366766b3785f8b533f8cb545c7
CPU threads: 4; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (ja_JP); UI: en-US
Calc: CL threaded

Reproducible
[2025-11-17]
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 620(Build:0)
CPU threads: 4; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: en-US (ja_JP); UI: en-US
Calc: CL threaded

Reproducible
[2025-11-13]
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d2def868cb3ac5a7e538a911e83d7d907a2ec794
CPU threads: 2; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: ja-JP
Calc: threaded

===

Not Reproducible
[2025_07_23]
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7f4868348c14b305fcd75744e1e3544d0d3a5d61
CPU threads: 4; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (ja_JP); UI: en-US
Calc: CL threaded
Comment 1 nobu 2025-11-17 12:59:33 UTC
Created attachment 204041 [details]
Sample Output
Comment 2 nobu 2025-11-17 13:00:05 UTC
Created attachment 204042 [details]
Sample odt
Comment 3 Takenori Yasuda 2025-11-17 14:22:01 UTC
Reproducible:
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 620(Build:0)
CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded Jumbo
https://dev-builds.libreoffice.org/daily/master/Win-x86_64@tb103-1-TDF/2025-11-17_03.04.22/

Not Reproducible:
Version: 25.8.3.2 (X86_64)
Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e
CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded Jumbo


When I copied the problematic section that occurred in version 26.2 and pasted it into version 25.8, it displayed correctly.

However, in both versions, the cursor movement and the highlight width in the Style Inspector were similarly reduced in the 50% scale-width portion, which appears to be consistent and expected behavior.

Additionally, the issue was also observed when exporting to PDF.

Based on these observations, it seems that the formatting with 50% scale width is being applied correctly, and the issue may lie in how the characters are being rendered.
Comment 4 Saburo 2025-11-17 23:40:03 UTC
bibisected with linux-64-26.2
commit 45ec7bd76196dcc60b4c2db2f6f00623ecbaf5a4
author	László Németh <nemeth@numbertext.org>

tdf#168251 cui offapi xmloff sw glyph scaling: extend UNO/UX/ODF

adding CC: László Németh
Please, take a look?