Bug 157876 - When selection only has variants of same font family, don't show empty box
Summary: When selection only has variants of same font family, don't show empty box
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fonts-Name-Combobox
  Show dependency treegraph
 
Reported: 2023-10-21 10:21 UTC by Eyal Rozenberg
Modified: 2023-11-09 01:16 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Presentation with text in three variants of OpenSans (17.24 KB, application/vnd.oasis.opendocument.presentation)
2023-10-21 10:21 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2023-10-21 10:21:13 UTC
Created attachment 190364 [details]
Presentation with text in three variants of OpenSans

One of the main problems of font handling in LibreOffice is the poor support for font family variants beyond R/I/B/BI (bug 35538 and many related bugs linked from there). One aspect of this support is the splitting of variants into separate font "families" in font selection UI. Example: "Open Sans Light", "Open Sans Semibold" - both variants of the "Open Sans" family, with different entries in the list of font families.

Now, when one selects some text in the same font family, but with some of the text being, say, Italic, and the rest being Roman (non-Italic) - the font family box shows the family name. But if one selects some text in the Open Sans family, some of which being Light and the rest being Semibold - the font family box shows noting, as though you'd selected text from different font families - even though you haven't.

I would like, even if we don't have proper UI for working with weights and other variants, to at least see the common single font family when making such selections.

Attaching a document with text in the three variants mentioned. You can get the Open Sans fonts from here: https://fonts.google.com/specimen/Open+Sans
Comment 1 Buovjaga 2023-10-30 18:47:46 UTC
Yes, it seems like a good idea -> NEW