Description: Similar to Hyphenation & Justification tools of DTP software, add visualization for bad typesetting, i.e. lines with too big word spacing. Steps to Reproduce: Check a justified text. Actual Results: It's possible to find only the lines with very big spaces easily, because it's depend on the context, too. Expected Results: Add a tool, which visualize the lines with bad typography better, comparing their spaces to the maximum word spacing set in the paragraph. Reproducible: Always User Profile Reset: No Additional Info: See e.g. Hyphenation and Justification Violations in Adobe InDesign.
László Németh committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/c05bc38067b2ab61ae919fb1fef1381343d03844 tdf#167298 tdf#166113 sw word spacing: add word spacing indicator It will be available in 26.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Can this be closed as fixed?
Commit description with instruction for usage (this feature needs enabled ShowWordSpacingIndicator expert configuration option, non-100% word spacing in paragraph justification yet, not only enabled formatting marks): tdf#167298 tdf#166113 sw word spacing: add word spacing indicator tdf#167298: As an advanced feature for typography and related development – including bug fixing –, add visualization for justified text lines with too big word spacing. tdf#166113: fix bInteropSmartJustify by adding bFullJustified to avoid unnecessary extra calculation for the last paragraph line. (Regression since commit 529755f0919217a84a12daad0fddfddd1124f0e9 "tdf#166113 sw smart justify: adjust algorithm for interoperability", detected by the word spacing indicator). The red word spacing indicator line is positioned before the justified text line, and its width is the extra space of a space character over the maximum word spacing. For example, if the font-defined space width is 3 pt, the maximum word spacing is 150%, spaces expanded to 6 pt in the justified line results a 6 pt - 3 pt * 1.5 = 1.5 pt width word spacing indicator. To enable the word spacing indicator in a justified text, 1) Open "Tools" -> Options" -> "Advanced" -> "Open Expert Configuration"; 2) search for "ShowWordSpacingIndicator"; 3) double-click on the config entry (or press Enter) to set it to True; 4) Enable Formatting Marks (Control-F10).
(In reply to Buovjaga from comment #2) > Can this be closed as fixed? Yes, I closed it now, thanks for the question!
Created attachment 201820 [details] screenshot: enabled word spacing indicator on test document of Bug 166113.