Bug 167554 - FILEOPEN DOCX smart justify: balanceSingleByteDoubleByteWidth - Times New Roman not justified identically to MS Word
Summary: FILEOPEN DOCX smart justify: balanceSingleByteDoubleByteWidth - Times New Rom...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bisected, filter:doc
Depends on:
Blocks: DOCX-Smart-Justify
  Show dependency treegraph
 
Reported: 2025-07-17 23:02 UTC by Justin L
Modified: 2025-07-17 23:02 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
forum-fr-45727.doc: 91 pages of justified text (468.00 KB, application/msword)
2025-07-17 23:02 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin L 2025-07-17 23:02:31 UTC
Created attachment 201850 [details]
forum-fr-45727.doc: 91 pages of justified text

I ran across this nice, long, justified document that seems to be fairly simple - just using the Times New Roman font. However, our justification (in 25.8) no longer matches the output I got from MS Word.

During my bibisect, I focused on the top of page 31, the paragraph:
A.D. : Je veux dire, je savais que vous veniez et puis bon, y'a des choses, on a eu d'autres stagiaires,
donc c'est des choses dont on l'habitude de... Voilà, mais on vous donnera des documents si besoin.

In MS Word it fits on two lines, but in master it takes up three lines.
This started with commit 6818bc55ff248c59f12b2e090139eff30fe949dd
Author: Jonathan Clark on Wed Mar 26 14:28:55 2025 -0600
    tdf#88908 sw: Add BalanceSpacesAndIdeographicSpaces compat option
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183412

So is Jonathan clearing some smart-justify kerning changes? Or is this yet another new edge case that smart justify needs to deal with?

Found by Collabora's mso-test.