Bug 161389 (Font-Fallback-Lists) - [META] Font fallback-list issues
Summary: [META] Font fallback-list issues
Status: NEW
Alias: Font-Fallback-Lists
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on: 108243 161378 161373 162892
Blocks: Font-Fallback
  Show dependency treegraph
 
Reported: 2024-06-03 08:10 UTC by Eyal Rozenberg
Modified: 2024-09-17 10:53 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2024-06-03 08:10:31 UTC
The ODF format supports [1] setting more than just a single font, but rather setting a list of fallback fonts so that if an item on the list is not available  with the appropriate features on the system (e.g. no such family at such size), then the next list item - the next font - is chosen.  This is intended to make font choices more robust for display on systems which don't have the same installed fonts as the author's.

This feature is similar to how font selection is defined in SVG files and in HTML files via CSS; see:

https://css-tricks.com/css-basics-fallback-font-stacks-robust-web-typography/

This bug is intended to track the various internal logic and UI issues stemming from the use of these lists and the need to support it in LibreOffice.

NOTE: This is _not_ the same mechanism as global font substitution (bug 103342), though they are related.



[1] https://docs.oasis-open.org/office/OpenDocument/v1.3/OpenDocument-v1.3-part3-schema.html#attribute-svg_font-family ; and that directs you to:
 https://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-family
Comment 1 Eyal Rozenberg 2024-09-16 19:26:14 UTC
Also note that this is _not_ the meta-bug for bugs regarding fallback definitions in the VCL.xcu file.