Bug 154579

Summary: Inconsistent character spacing between Writer and Impress
Product: LibreOffice Reporter: Roland Baudin <roland65>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: minor CC: aron.budea, ilmari.lauhakangas
Priority: medium    
Version: 3.5.0 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 145962    
Attachments: Test file for Impress
Test file for Writer

Description Roland Baudin 2023-04-03 08:44:32 UTC
Description:
In Impress 7.5, it is now possible to get negative character spacing with large values. This could be used to get aligned subscript n and superscript m like in LaTeX formula x_n^m.

But in Writer, negative character spacing does not work the same. Though a negative spacing of -20pt can be specified, it is not applied (see test-char-spacing-writer.odt file), instead a small negative spacing seems to be applied.



Steps to Reproduce:
1) In Impress, write 'Example', select characters 'am', then Format / Character / Position and set Character spacing to -20 pt. Observe that the 'a' and 'm' are superposed, as expected.

2) Do the same as 1) in Writer. Observe that the 'a' and 'm' are not superposed.

The files test-char-spacing-writer.odt and test-char-spacing-impress.odt show the problem.

Tested with a fresh profile.



Actual Results:
 

Expected Results:
 


Reproducible: Always


User Profile Reset: Yes

Additional Info:
LibreOffice version:
Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 48; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: en-US (C); UI: en-US
Ubuntu package version: 4:7.5.2~rc2-0ubuntu0.22.04.1~lo1
Calc: threaded

System version:
Ubuntu 22.04.2 LTS, 64 bits
Comment 1 Roland Baudin 2023-04-03 08:45:29 UTC
Created attachment 186428 [details]
Test file for Impress
Comment 2 Roland Baudin 2023-04-03 08:45:48 UTC
Created attachment 186429 [details]
Test file for Writer
Comment 3 Buovjaga 2023-04-05 12:30:05 UTC
Confirmed, already in 3.5 and 5.2

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 90c590812eecb3a0eb2748a132e304fa6c0ea0ad
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 5 April 2023