Bug 127556 - Formatting spacing first line
Summary: Formatting spacing first line
Status: RESOLVED DUPLICATE of bug 103099
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paragraph-Line-Spacing
  Show dependency treegraph
 
Reported: 2019-09-15 11:45 UTC by Heinrich Hartl
Modified: 2019-09-18 06:28 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
formatting showing differnet line spacing after first line (1.94 MB, application/vnd.oasis.opendocument.text)
2019-09-15 11:45 UTC, Heinrich Hartl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heinrich Hartl 2019-09-15 11:45:10 UTC
Created attachment 154172 [details]
formatting showing differnet line spacing after first line

There are two old bugs appaarently addressing something similar to my problem: 103099 and 79750.

I have attached a document that shows the following irregularity: The spacing from first line on page or in paragraph to the second line is not the same as all the other line spacings.
Please note: I am using proportional line spacing. The font I use replicates TEX-font computer modern. However I observed that the line spacing was larger and spoiled the nice looking original fonts appearance. I corrected this by proportional spacing to have the same number of lines on a page as I would have in TEX.

The attached file also shows another irregularity: It has 16 pages but the last page is 2! It may be important to know that I generated this document from a copy of my book with 163 pages. I deleted pages start(=1) to 72 and 93 to end(=163). I do not know how to get rid of pages 3-16. But this is another topic and not what I want to address here.
Comment 1 Regina Henschel 2019-09-15 17:58:00 UTC
(In reply to Heinrich Hartl from comment #0)
> The attached file also shows another irregularity: It has 16 pages but the
> last page is 2!
The frame, which contains image and caption, is anchored "to page". Therefore LibreOffice inserts as many pages as needed, to get the page number, which is specified in the anchor. Change the anchor of the frame. So no bug.

I cannot decide about your first 'irregularity'. I haven't got that font. But in general a line spacing of 86% is too little. At a first try, you should trust the line spacing value, which is incorporated into the font by the font designer. Do you measured the distance?
Comment 2 Heinrich Hartl 2019-09-15 19:50:31 UTC
(In reply to Regina Henschel from comment #1)
> (In reply to Heinrich Hartl from comment #0)
> > The attached file also shows another irregularity: It has 16 pages but the
> > last page is 2!
> The frame, which contains image and caption, is anchored "to page".
> Therefore LibreOffice inserts as many pages as needed, to get the page
> number, which is specified in the anchor. Change the anchor of the frame. So
> no bug.
> 
> I cannot decide about your first 'irregularity'. I haven't got that font.
> But in general a line spacing of 86% is too little. At a first try, you
> should trust the line spacing value, which is incorporated into the font by
> the font designer. Do you measured the distance?

Thank you for your explanation. Using the navigator I could see those strange frames. I did delete these pictures and had only 2 pages. Sofar successful. however frames 78 and 44 were still around visible in the navigator but I was no loger able to navigate to these frames ... I will try again watching more carefully.

What about the font: as already mentioned I try to mimic computer modern fonts from TEX. The TEX community doesn'd distribute these fonts as .ttf or .odf. Others volunteer in preparing these fonts for general use use under Linux and windows. However I suspect that in the process of building these fonts in .ttf the line spacing has not been replicated from the fonts in TEX. I got the .ttf files I installed from https://www.fontsquirrel.com/fonts/computer-modern.
After installation I found that less lines filled a complete page of text while TEX had more lines per page when using the CM prototype fonts. To arrive at the same number of lines per page I hat to make use of the proportional spacing.
Comment 3 Dieter 2019-09-18 06:28:11 UTC
For me it is a duplicate of bug 103099. Please feel free to change it back with a shor reasoning, if you don't agree.

*** This bug has been marked as a duplicate of bug 103099 ***