Bug 116226 - Line spacing and margins in version 6 are not correct
Summary: Line spacing and margins in version 6 are not correct
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.2.1 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-06 08:52 UTC by Hans Gerstenkorn
Modified: 2019-01-17 19:08 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file for reproduction (21.24 KB, application/vnd.oasis.opendocument.text)
2018-03-06 08:56 UTC, Hans Gerstenkorn
Details
file printed with "microsoft print to pdf" (26.70 KB, application/pdf)
2018-03-20 08:50 UTC, Hans Gerstenkorn
Details
file printed with "microsoft print to pdf (26.70 KB, application/pdf)
2018-03-20 08:51 UTC, Hans Gerstenkorn
Details
file printed with "microsoft print to pdf (24.66 KB, application/pdf)
2018-03-20 08:52 UTC, Hans Gerstenkorn
Details
PDF from MacBook Pro left justified (12.39 KB, application/pdf)
2018-04-22 17:07 UTC, Hans Gerstenkorn
Details
PDF from MacBook Pro block set (21.32 KB, application/pdf)
2018-04-22 17:08 UTC, Hans Gerstenkorn
Details
Example with courier (9.71 KB, application/vnd.oasis.opendocument.text)
2018-12-01 13:12 UTC, Hans Gerstenkorn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Gerstenkorn 2018-03-06 08:52:44 UTC
Description:
In LO Version: 6.0.2.1 (x64), the line height in the printout doesn't match the values in "Format> Paragraph> Line Spacing" *). In addition, the margins are different widths.

In LO Verion 5.4.2.2 Win 6.2, the line height and the width of the page margins are correct.

In the selection field Line spacing the information in version 6 is made in "pt", in version 5 in "cm".

* The German version is used. The information is therefore "Format > Absatz > Zeilenabstand"

Steps to Reproduce:
1. Open Writer

2. Insert text

3. select all

4. Format> Paragraph> Line spacing = fixed and enter value 0.85 cm

5. Save and print

Actual Results:  
The line height is larger, the left edge is narrower than the right edge.

Expected Results:
The line height and the margins of the printout must be as specified. The selection of the line height should be possible in "cm" and not in "pt".


Reproducible: Always


User Profile Reset: No



Additional Info:
The same procedure with version 5 gives a correct expression. 
This is reproducible with the uploaded example file.


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36
Comment 1 Hans Gerstenkorn 2018-03-06 08:56:23 UTC
Created attachment 140372 [details]
Example file for reproduction

Depending on the LO version in which the file is loaded and then proceeded as described, the error and the result are reproducible.
Comment 2 Buovjaga 2018-03-11 11:28:03 UTC
The field can take cm or other units, BUT it ALWAYS converts them to pt. So in version 5 it was no more "in cm" than in 6.

There was a regression related to this topic fixed some time ago, bug 98993, but it was already for 5.4.0. So in 5.3 we can see in your example file that the fixed line height is 24 pt, while in later ones it is 24,1 pt.

Hans: can this difference be seen in a PDF export in addition to printing?
Is your example file such that we could just print it out in 5.4.2 and 6.0.2 and see the difference immediately?

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.
Comment 3 Hans Gerstenkorn 2018-03-20 08:50:46 UTC
Created attachment 140734 [details]
file printed with "microsoft print to pdf"

Ringbuch_LO-Ver_6_0_2_1_WIN-10-Pro-Ver-10_0_16299_ThinkPad-T430s
Comment 4 Hans Gerstenkorn 2018-03-20 08:51:47 UTC
Created attachment 140735 [details]
file printed with "microsoft print to pdf

Ringbuch_LO-Ver_6_0_2_1_WIN-10-Pro-Ver-10_0_16299_DELL-VOSTRO
Comment 5 Hans Gerstenkorn 2018-03-20 08:52:48 UTC
Created attachment 140736 [details]
file printed with "microsoft print to pdf

Ringbuch_LO-Ver_5_4_2_2_WIN-10-Pro-Ver-10_0_16299_DELL-D420
Comment 6 Hans Gerstenkorn 2018-03-20 08:59:53 UTC
I'm sorry for late answering, now I printed the file to pdf and please see at Your screen the difference, also You'll print within paper. :-) Hans
Comment 7 Buovjaga 2018-03-20 11:00:54 UTC
(In reply to Hans Gerstenkorn from comment #6)
> I'm sorry for late answering, now I printed the file to pdf and please see
> at Your screen the difference, also You'll print within paper. :-) Hans

The only difference is in the character kerning. Nothing about line spacing and margins.
Comment 8 Dieter 2018-03-20 13:41:22 UTC
Same result as Buovjaga. Kerning in diferent in attachment 140736 [details].
Comment 9 Hans Gerstenkorn 2018-04-22 09:42:45 UTC
Hi to all, for Your better information,

I've now switched to a MacBook Pro and here are the margins different, just like with Windows ...

NEU = LO Version: 6.0.2.1; CPU-Threads: 8; BS: Mac OS X 10.13.4
Comment 10 Buovjaga 2018-04-22 10:20:02 UTC
(In reply to Hans Gerstenkorn from comment #9)
> Hi to all, for Your better information,
> 
> I've now switched to a MacBook Pro and here are the margins different, just
> like with Windows ...
> 
> NEU = LO Version: 6.0.2.1; CPU-Threads: 8; BS: Mac OS X 10.13.4

But why are the margins not different in your PDFs?
Comment 11 Hans Gerstenkorn 2018-04-22 17:07:05 UTC
Created attachment 141546 [details]
PDF from MacBook Pro left justified
Comment 12 Hans Gerstenkorn 2018-04-22 17:08:00 UTC
Created attachment 141547 [details]
PDF from MacBook Pro block set
Comment 13 Hans Gerstenkorn 2018-04-22 17:09:13 UTC
When I create a PDF, the right edge is narrower than the left edge - measured on the screen, also . With the Mac, I do not know the program, if I go to "print", I'm offered as a PDF secure. Experts know for sure. The different width of the margins is also generated in the block set, see latest attachments.
Comment 14 Buovjaga 2018-04-22 19:37:19 UTC
(In reply to Hans Gerstenkorn from comment #11)
> Created attachment 141546 [details]
> PDF from MacBook Pro left justified

(In reply to Hans Gerstenkorn from comment #12)
> Created attachment 141547 [details]
> PDF from MacBook Pro block set

(In reply to Hans Gerstenkorn from comment #13)
> When I create a PDF, the right edge is narrower than the left edge -
> measured on the screen, also . With the Mac, I do not know the program, if I
> go to "print", I'm offered as a PDF secure. Experts know for sure. The
> different width of the margins is also generated in the block set, see
> latest attachments.

What do you want to say with these PDFs and the comment? You have made PDFs of justified and unjustified text. I don't understand the point.
Comment 15 Hans Gerstenkorn 2018-04-22 21:44:11 UTC
I'd only say, that there is a difference between the left and right edge, not only when printing on paper, but also when I print as requested pdf. I mean, that the edge must have the same width on the left and right. That's the other thing I've found.....
Comment 16 Xisco Faulí 2018-11-27 20:18:06 UTC Comment hidden (obsolete)
Comment 17 Hans Gerstenkorn 2018-12-01 13:11:31 UTC
sorry for little bit late answer, now I have been using LO Version 
"Version: 6.1.3.2
Build-ID: 86daf60bf00efa86ad547e59e09d6bb77c699acb
CPU-Threads: 8; BS: Mac OS X 10.14.1; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE.UTF-8); Calc: group threaded"

and the little problem persists. Please see attached new document. The left edge is 19 mm, right edge 22 mm.

I printed some sheet of paper (DIN A4), always with the same result....
Comment 18 Hans Gerstenkorn 2018-12-01 13:12:31 UTC
Created attachment 147194 [details]
Example with courier
Comment 19 Dieter 2018-12-01 15:27:39 UTC
I opened your attachment from comment 18 in LO 6.1.3.2 and 6.2.0.0Beta1 => Print => left margin and right margin are 2cm
Comment 20 Hans Gerstenkorn 2018-12-01 15:42:52 UTC Comment hidden (obsolete)
Comment 21 Dieter 2018-12-10 09:40:25 UTC
(In reply to Hans Gerstenkorn from comment #20)
> so, to exclude my printer I'd like to try it with other printer ba friends
> next week, than we see, if the problem persists.., have a nice advent :-)

Hans, any results from testing with another printer? => NEEDINFO
Comment 22 Hans Gerstenkorn 2018-12-16 09:25:04 UTC
sorry, but I need a little bit more time..... I'll don't forget it...
Comment 23 Xisco Faulí 2019-01-17 11:54:53 UTC
(In reply to Hans Gerstenkorn from comment #22)
> sorry, but I need a little bit more time..... I'll don't forget it...

any update ?
Comment 24 Hans Gerstenkorn 2019-01-17 18:51:57 UTC
sorry, I.ve forgotten it, but I've a very good message:

the problem ist not LO!, the problem is the printer of mine an of my neighbor with a Brother DCP.

Thank You so much for Your engagement, but I can't find it because it was synonymous with the printer from my neighbor, it has led me to the wrong track.

So, please close this bug report an have a good time :-))) hans
Comment 25 Dieter 2019-01-17 19:08:26 UTC
(In reply to Hans Gerstenkorn from comment #24)
> So, please close this bug report an have a good time :-))) hans

=> RESOLVED NOTOURBUG