Bug 115662 - LibreOffice can't build with google-roboto-fonts installed
Summary: LibreOffice can't build with google-roboto-fonts installed
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1.0.0.alpha0+
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-12 20:11 UTC by Arnaud Versini
Modified: 2022-04-05 07:07 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
With roboto -LO 6.0, not 6.1 (20.21 KB, application/pdf)
2018-02-12 20:13 UTC, Arnaud Versini
Details
Without roboto (25.36 KB, application/pdf)
2018-02-12 20:13 UTC, Arnaud Versini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arnaud Versini 2018-02-12 20:11:09 UTC
Description:
LibreOffice won't build if roboto fonts installed.

Steps to Reproduce:
1. Install the roboto fonts (sudo zypper intall google-roboto-fonts)
2. build libreoffice, error on test tdf#108947, 1 page instead of 2
3. Remove the font (sudo zypper rm google-roboto-fonts) ->It builds

Actual Results:  
Don't build

Expected Results:
Should build


Reproducible: Always


User Profile Reset: No



Additional Info:
I guess that's an issue in the automatic font replacement, the document indicates Tahoma.


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Comment 1 Arnaud Versini 2018-02-12 20:13:13 UTC
Created attachment 139840 [details]
With roboto -LO 6.0, not 6.1
Comment 2 Arnaud Versini 2018-02-12 20:13:41 UTC
Created attachment 139841 [details]
Without roboto
Comment 3 Stephan van den Akker 2018-02-12 23:19:32 UTC
I can confirm this problem. While building LOdev (master) on openSuSE Tumbleweed and openSuSE 42.2 (64-bit) the test for tdf@108947 has been failing for at least several months now. Removing the roboto fonts the build of

Version: 6.1.0.0.alpha0+
Build ID: d9fc18d5a797972ba182fbcae941535a50098dcb
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-GB (en_GB.UTF-8); Calc: CL

now works on Tumbleweed.
Comment 4 DavidO 2018-05-03 20:39:29 UTC
I can confirm that removing this font fixed the issue. Now when I open
the test file, I see in fact two pages: [2].

Still I am not convinced, that developers/testers have to mess around
with local system for tests to pass. Unless we have a better idea how
to make the test work in both use cases: with and without this font
installed, this test should probably be disabled.
Comment 5 QA Administrators 2019-05-04 02:56:54 UTC Comment hidden (obsolete)
Comment 6 Timur 2020-03-20 07:34:28 UTC
Didn't test this, I don't build.
More important in 7.0+, 1 page ODF example attachment 158828 [details] opens now as 2 pages on a Windows system without Roboto font. Opens 1 page if installed.
Comment 7 QA Administrators 2022-03-21 03:26:42 UTC Comment hidden (obsolete)
Comment 8 Stephan van den Akker 2022-03-31 13:44:54 UTC
On openSUSE Tumbleweed with installed packages:

google-roboto-fonts
google-roboto-slab-fonts

Build succeeded for:

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 59af0be9fbfcef4e157a74099a6aef0c60facb36
CPU threads: 16; OS: Linux 5.16; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Calc: threaded

Works for me.....
Comment 9 Timur 2022-04-05 07:07:51 UTC
Per previous comment, I set WFM.