Bug 164193 - allow for decimal percentage in paragraph proportional line spacing
Summary: allow for decimal percentage in paragraph proportional line spacing
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.3.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevAdvice
Depends on:
Blocks: Paragraph-Line-Spacing
  Show dependency treegraph
 
Reported: 2024-12-05 17:22 UTC by Mathieu
Modified: 2025-01-03 07:14 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 Mathieu 2024-12-05 17:22:38 UTC
Description:
allow for decimal percentage in paragraph proportional line spacing

Steps to Reproduce:
not applicable (see Other information for rational of improvement request)

Actual Results:
not applicable (see Other information for rational of improvement request)

Expected Results:
not applicable (see Other information for rational of improvement request)


Reproducible: Always


User Profile Reset: No

Additional Info:
Rational for the request is for using a cursive font over a page with regular line spacing background (like schoolbooks).
In that context, I want to use the percentage proportionnal line spacing to have all text line aligned with the background, but unfortunately the correct value fall between 106% and 107%. Using a decimal value now get rounded to nearest and a shift appears at bottom of the page depending on lines counts.
I guess 2 digits would be enough.
Comment 1 Dieter 2024-12-24 12:40:15 UTC
I confirm, that proportional line spacing with decimal numbers is not possible with

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0480e84e4c0b43d3829d83746636ad7a7037e76e
CPU threads: 12; OS: Windows 11 X86_64 (build 22631); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Desing-team should decide, but I think difference within 1% is so small, that you can hardly see it.

In the specific case mentioned in original bug report I think problem can be solved with a fixed line spacing.
Comment 2 Heiko Tietze 2025-01-03 05:22:26 UTC
Whether rounding is essential for proportional values is a question to developers. Matthieu presented a use case, there is nothing to discuss.
Comment 3 BogdanB 2025-01-03 07:14:17 UTC
Mathieu, can you try suggestion from comment 1? You have 3 options with 1 mm difference: At least, Leading and Fixed.