Bug 152548 - Line numbering sizes inconsistent when decreasing font size
Summary: Line numbering sizes inconsistent when decreasing font size
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.0.0 beta1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Line-Numbering
  Show dependency treegraph
 
Reported: 2022-12-16 13:49 UTC by Eyal Rozenberg
Modified: 2023-01-02 21:13 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Document exhibiting the bug (25.62 KB, application/vnd.oasis.opendocument.text)
2022-12-16 13:49 UTC, Eyal Rozenberg
Details
Screenshot of attachment 184185 rendered in Writer (89.02 KB, image/png)
2022-12-16 13:51 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2022-12-16 13:49:14 UTC
Reproduction instructions:

1. Create a new Writer document.
2. Have your default paragraph style in font Liberation Serif, size 12.
3. Type in two paragraphs, each with at least 3 lines. You can use https://loremipsum.io/generator/ for generating text if you like.
4. Set both paragraphs to have vertical space 0.2" after the paragraph, nothing before, and single line spacing.
5. Enable line numbering with interval 1.
6. Select the entirety of the second paragraph.
7. Set the font size to something small, e.g. 6 pt

Expected result: 
The font size of the line numbering for the second paragraph should be the same for all lines of paragraph 2.

Actual result:
The font size of the line numbering for the first line of the second paragraph is 6pt, and for the second line onwards is 7pt.
Comment 1 Eyal Rozenberg 2022-12-16 13:49:50 UTC
Created attachment 184185 [details]
Document exhibiting the bug
Comment 2 Eyal Rozenberg 2022-12-16 13:51:10 UTC
Created attachment 184186 [details]
Screenshot of attachment 184185 [details] rendered in Writer
Comment 3 Dieter 2023-01-01 15:35:40 UTC
I confirm it with

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 376152fbd110cdc0a2cde1fa9758f36c016d9352
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (de_DE); UI: en-GB
Calc: CL threaded

Eyal, I can see different font size, but don't know how to see the specific value.
Comment 4 Eyal Rozenberg 2023-01-02 21:13:20 UTC
(In reply to Dieter from comment #3)
> Eyal, I can see different font size, but don't know how to see the specific
> value.

Ah, yes, it's not like I got a notification about the size. I just compared it to numbers in the text itself, which are 6pt; and then I had another paragraph with text in larger size 7pt and sort of eyeballed it.