Bug 118411 - Add a function to load fallback font specified by system fontconfig
Summary: Add a function to load fallback font specified by system fontconfig
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected)
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Font-Substitution
  Show dependency treegraph
Reported: 2018-06-27 14:09 UTC by Volga
Modified: 2019-03-21 11:25 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:
Regression By:


Note You need to log in before you can comment on or make changes to this bug.
Description Volga 2018-06-27 14:09:05 UTC
Some Linux and Unix-like desktop environments used fontconfig for font substitution and fallback, and it is customizable that user could be modified for any purpose, so LibreOffice should load fallback font as the fontconfig specified, unless user specified replacement table via Tools - Options - Fonts. 

Steps to Reproduce:

Actual Results:

Expected Results:

Reproducible: Always

User Profile Reset: No

Additional Info:
Comment 1 Buovjaga 2018-07-13 19:13:39 UTC
LibreOffice uses fontconfig, so please explain the difference of your proposal to the status quo.
Comment 2 Buovjaga 2018-07-13 19:15:14 UTC
For reference: https://wiki.documentfoundation.org/LibreOffice_Localization_Guide/Advanced_Source_Code_Modifications#Font_Fallback

"Under unix fontconfig is used for font fallback, the original font name is sent to fontconfig and fontconfig determines the best replacement font to use depending on locale and other information."
Comment 3 QA Administrators 2019-01-11 15:22:32 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2019-03-21 11:25:26 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team