Created attachment 134228 [details]
File to reproduce problem. It renders differently on Windows and Linux.
I found out that on Windows (tested on Windows XP and Windows 7) text with charHeight 10.89 renders as 10.8
At the same time on Linux (tested on Ubuntu 14.04 and Centos 7) it renders as 10.9
As a result included file fit in one line on Windows and in 2 on Linux.
Libreoffice 184.108.40.206 on each PC.
For books (about 200 pages in LibreOffice on Windows) we have 220 pages in LibreOffice on Linux.
Fonts are equal on each platform (Times New Roman).
Scale width 95%
Created attachment 134233 [details]
Comparison LibreOffice 5.3.3 on Linux and LibreOffice 5.3.3 on Windows 7
@Khaled, any comment on this?
Does it happen with other fonts, like Liberation Serif?
Oh, you are comparing Windows and Linux not different version of Windows. Looks like a duplicate of bug 105992.
Initially it was found on 5.2.x versions.
(In reply to Khaled Hosny from comment #3)
> Does it happen with other fonts, like Liberation Serif?
I suppose no. Writer does not let to set Height to 10.89 for Liberation Serif (Writer rounds it).
(In reply to Georgy from comment #5)
> Initially it was found on 5.2.x versions.
No idea then. I think the use of fractional font size might the culprit, but I don’t know how exactly.
I have reproduced the same behavior in openoffice 3.4.1 (compared Win 7 and Centos 7).
Looks like it is an old bug.
My wild guess is that we are rounding the font size somehow when loading fonts, and this rounding happens different between different platforms.
Created attachment 134287 [details]
Test for Arial font
The same problem appears while using Arial font.
Could somebody test it on Mac?
Writer behavior on MacOS is the same as on Linux (2 lines).
** Please read this message in its entirety before responding **
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/
If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.
Please DO NOT
Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/
2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword
Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa
Thank you for helping us make LibreOffice even better for everyone!
The bug is still affects Libreoffice (6.5)
I suppose it happens because win vcl on uses win api to get line width.