https://bugs.documentfoundation.org/show_bug.cgi?id=173128
Bug ID: 173128
Summary: Font substitution should have a robust fallback
mechanism; allow list of potential fonts
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Formula Editor
Assignee: [email protected]
Reporter: [email protected]
Description:
We currently have a font substitution setting in which one font can be replaced
with another. This mechanism, however is of limited usefulness for predefined
substitutions. We could, for example, define a substitution list for common
proprietary fonts, but at the moment the substitution would happen even if
users actually have the font installed (e.g. using the mscorefonts-package).
I suggest to introduce a mechanism that allows for defining a list of fallback
fonts rather than 1:1 substitution in the font substitution table, so that
robust predefined but user-customizeable fallbacks can be defined.
If we would ship a default substitution/fallback table, we could show documents
using proprietary fonts more close to the intended layout without needing to
install a replacement font for every common proprietary fonts.
In the UI of the substitution table, this could show as:
- ability to define comma-separated lists of font names or
- by having a list-editing UI element or
- allowing to replace the same font with different fonts (so that the first
that works is choosen)
This would work similar to the way CSS defines fonts (go though list of fonts,
pick first installed) but would not be defined by the author (as usual in CSS
and as suggested in #161378) but by the viewer/user or, most importantly, in
the Libreoffice installation.
Steps to Reproduce:
Define a substitution in Tools/Options/Libreoffice/Fonts for a font that is
installed.
Actual Results:
The font is replaced, even though the font defined in the document could be
used
Expected Results:
There should be a way to define fallbacks rather than replacements.
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 26.2.5.2 (X86_64)
--
You are receiving this mail because:
You are the assignee for the bug.