Bug 169264 - Add an option to disable Word-compatible line spacing configuration
Summary: Add an option to disable Word-compatible line spacing configuration
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: CJK DOCX-Paragraph DOC-Paragraph
  Show dependency treegraph
 
Reported: 2025-11-05 04:18 UTC by Volga
Modified: 2025-11-07 15:54 UTC (History)
2 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 Volga 2025-11-05 04:18:27 UTC
Description:
After bug 129808 LibreOffice is implemented a special method for CJK text leading, this is useful for some legacy fonts such as SimSun, MingLiU, MS Mincho, but may would possibly make troublesome layout for some modern fonts such as Microsoft YaHei, Source Han Sans, etc.

https://www.zhihu.com/question/61741325

So LibreOffice need to make this optional, and add an options to enable or disable.

Steps to Reproduce:
N/A

Actual Results:
N/A

Expected Results:
N/A


Reproducible: Always


User Profile Reset: No

Additional Info:
N/A
Comment 1 m_a_riosv 2025-11-05 09:01:54 UTC
Doesn't work, the option:
Menu>Tools>Options>LibreOffice>LibreOffice Writer>Compatibility - Use Word compatible font metrics for text grid and Asian text.
Comment 2 Volga 2025-11-06 14:51:02 UTC Comment hidden (no-value)
Comment 3 Volga 2025-11-06 15:00:55 UTC
To my eyes, this functionality should have it's own option at Options -> LibreOffice -> LibreOffice Writer -> Compatibility.
Comment 4 Volga 2025-11-06 15:02:16 UTC
So Jonathan, what do you think of?
Comment 5 Jonathan Clark 2025-11-06 21:06:38 UTC
(In reply to Volga from comment #3)
> To my eyes, this functionality should have it's own option at Options ->
> LibreOffice -> LibreOffice Writer -> Compatibility.
Currently this functionality is controlled by the "Use Word-compatible font metrics for text grid and Asian text" compatibility option. This compatibility option is an implementation detail of DOC/DOCX import. We enable it automatically when you open a DOC/DOCX file, but otherwise it's disabled.

To make sure I understand, is the suggestion to separate the line height adjustment into a different compatibility option, so it can be enabled or disabled on its own? This is possible, but I'm uncertain how it would be used.

Other programs wouldn't understand these options, and DOC/DOCX files don't even give us anywhere to store them, so enabling one and disabling the other would only make a difference for ODF files viewed specifically in LibreOffice.
Comment 6 Volga 2025-11-07 15:54:28 UTC
(In reply to Jonathan Clark from comment #5)
> To make sure I understand, is the suggestion to separate the line height
> adjustment into a different compatibility option, so it can be enabled or
> disabled on its own? 

Affirmative.