Bug 166189 - FILEOPEN DOCX smart justify: Liberation Serif not justified identically to MS Word 2019
Summary: FILEOPEN DOCX smart justify: Liberation Serif not justified identically to MS...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.3 release
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks: DOCX-Smart-Justify
  Show dependency treegraph
 
Reported: 2025-04-15 02:03 UTC by Justin L
Modified: 2025-04-15 09:45 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin L 2025-04-15 02:03:06 UTC
I ran across this justified document that is using the LO-included Liberation font. However, our justification (as of 25.8 master) doesn't match the output I got from MS Word 2019.

Steps to reproduce:
1.) open "test-book (4445).docx" (attachment 163686 [details] from bug 135016)

Take a look at at the end of page 4, the paragraph starting with "Leo a diam sollicitudin tempor." In that one, I see Word 2010/2019 placing the word "Pharetra" at the end of the third line (which of course then affects the rest of the paragraph). The result is different from both 24.8 oldest and also differently different from master.

Another example with Liberation Serif is "Le_Renard_Enjoue.docx" (attachment 165596 [details] from bug 136833). I focused on page 3, with the position of "De notre côté,"

Both of these example were affected by
commit 36bfc86e27fa03ee16f87819549ab126c5a68cac
Author: László Németh on Tue Dec 19 11:58:40 2023 +0100
    tdf#119908 tdf#158776 sw smart justify: shrink only spaces

In my PDF comparison, both MS Word 2019 and LO bibisect were running on the same windows machine, so both used the identical Liberation font version.

Marking as low priority, since this is mainly just submitted for information and not really as a concerned bug report.
Comment 1 m_a_riosv 2025-04-15 09:45:53 UTC
Repro
Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 887ed47fbdb05a2cbbef5722859cdd3e7900b73c
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-GB
Calc: CL threaded