Bug 116302 - Much of file not viewable in Mageia LibreOffice
Summary: Much of file not viewable in Mageia LibreOffice
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-09 03:17 UTC by Ole Reier Ulland
Modified: 2018-03-11 14:22 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
The odf file (27.23 KB, application/vnd.oasis.opendocument.text)
2018-03-09 03:18 UTC, Ole Reier Ulland
Details
What it looks like in Windows (39.92 KB, application/pdf)
2018-03-09 03:19 UTC, Ole Reier Ulland
Details
What it looks like in Mageia Linux (19.11 KB, application/pdf)
2018-03-09 03:21 UTC, Ole Reier Ulland
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Reier Ulland 2018-03-09 03:17:02 UTC
Description:
I have an odt text file. In Windows LibreOffice 5.4.4.2 the file is fine. But when I open the same file in Mageia Linux LibreOffice 5.3.4.2 half of the text in the file is no where to be seen. I have made pdf files both places and they show what is shown on the display, totally different from each other even though it is the exact same odt file.

Steps to Reproduce:
I will try to attach the three files after I have submitted this bug report, but if I am not successful send me an e-mail and I will attach them to my reply e-mail. My e-mail address is ole.reier.ulland@gmail.com.

Actual Results:  
1. Open the odt file in Linux
2. Open the odt file in Windows
3. View the difference

Expected Results:
I made pdf files in both operating systems and the pdf files are very different from each other, but like what is shown on the display.


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Ole Reier Ulland 2018-03-09 03:18:49 UTC
Created attachment 140491 [details]
The odf file
Comment 2 Ole Reier Ulland 2018-03-09 03:19:50 UTC
Created attachment 140492 [details]
What it looks like in Windows
Comment 3 Ole Reier Ulland 2018-03-09 03:21:17 UTC
Created attachment 140493 [details]
What it looks like in Mageia Linux
Comment 4 V Stuart Foote 2018-03-09 04:07:52 UTC
You look to have a font fall back issue. Simply put, the font used for the document on Windows is not present on the Linux system and your Linux system is not picking a reasonable fall back.to substitute.

Modify the document to use a font installed  to both systems if your build does not use the TDF project built font bundle.
Comment 5 Ole Reier Ulland 2018-03-09 04:36:52 UTC
In Windows I changed the font to "Liberation Serif", which is used in LibreOffice both Windows and Mageia, but the problem persisted when I opened the document in Mageia.
Comment 6 V Stuart Foote 2018-03-09 06:41:55 UTC
Still leaning toward font metric mismatches between Windows and Linux flavors of the fonts.

Perhaps give "DejaVu Serif Book" at 9pt a try. But please make the font change against the Default paragraph style, modify it, select all text and apply Default. 

With DejaVu Serif I just verified the page layout in 7 columns are the same between Windows 10 Pro, ver 1709 (6.0.2.1) and Fedora 27 (5.4.4.1).  

But, I did see a difference between Windows 10 and Fedora 27 with Liberation Serif -- Windows had build v2.00 --Ascender Corp modified by Red Hat 04-10-2012 05:02:32 with OS/2 version set 3 and "Really use Type Metrics" is not enabled. While Fedora 27 had build v 1.07.4 with OS/2 version set 4 and "Really use Typo Metrics" enabled. So using different metrics to calculate line heights and page layout.

Not necessarily the same with Mageia packaging--but representative that different font versions and metrics will cause these issues.
Comment 7 Ole Reier Ulland 2018-03-09 07:28:49 UTC
I changed the default style to DejaVu Serif Book 9 pt. in Windows and applied it. That change made the text in Mageia the same as in Windows. Thank You.

But that font is too wide for me. I tried to change default style back to Liberation Serif in both Windows and Mageia. In Windows it worked fine as always, but in Mageia I got only about 75 % of the text.

What makes this problem come up all of a sudden? Is it the use of seven columns? I think I have seen it earlier too with the use of large tables reaching over many pages. Are there other uses of LibreOffice that gives this challenge?

When I have to use both Windows and Mageia, many columns and large tables, which fonts are available to me under all circumstances? And which of them is the narrowest?
Comment 8 Buovjaga 2018-03-11 14:22:11 UTC
(In reply to Ole Reier Ulland from comment #7)
> When I have to use both Windows and Mageia, many columns and large tables,
> which fonts are available to me under all circumstances? And which of them
> is the narrowest?

This is more suitable for http://ask.libreoffice.org/