Bug 153383 - Variable Fonts: handling of named instances
Summary: Variable Fonts: handling of named instances
Status: RESOLVED DUPLICATE of bug 147739
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.5.0.3 release
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-04 21:24 UTC by Thomas Linard
Modified: 2023-02-24 12:16 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Screenshot (170.95 KB, image/png)
2023-02-04 21:25 UTC, Thomas Linard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Linard 2023-02-04 21:24:20 UTC
Description:
Congratulations on all the progress made in font feature support with version 7.5.

I tested a variable font (Martian Mono: https://github.com/evilmartians/mono/blob/main/fonts/variable/MartianMono%5Bwdth%2Cwght%5D.ttf) under macOS 12.6.3.

The VF has 8 named instances:
Thin
ExtraLight
Light
Regular
Medium
SemiBold
Bold
ExtraBold


Steps to Reproduce:
1. Install the font.
2. In Libre Office 7.5.0.3 > Format > Character, choose "Family: Martian Mono".
3. Open "Typeface".

Actual Results:
See the following:
Regular
SemiExpanded Regular
Thin
ExtraLight
Light
SemiBold
Bold
ExtraBold
Italic
Bold Italic

Expected Results:
Thin
ExtraLight
Light
Regular
Medium
SemiBold
Bold

(the VF doesn't have any Italic, Medium is missing, SemiExpanded Regular is not a named instance)


Reproducible: Always


User Profile Reset: Yes

Additional Info:
I also test Labrada (https://github.com/Omnibus-Type/Labrada/tree/main/fonts/variable): Medium named instance is missing.
Comment 1 Thomas Linard 2023-02-04 21:25:31 UTC
Created attachment 185123 [details]
Screenshot
Comment 2 Thomas Linard 2023-02-04 21:30:31 UTC
I forgot the last item in the "Expected Results" list:
Thin
ExtraLight
Light
Regular
Medium
SemiBold
Bold
ExtraBold
Comment 3 ⁨خالد حسني⁩ 2023-02-04 23:01:32 UTC
These are the named instances reported by CoreText (you can check with FontBook, you will see the same list of styles), so it is either a font or CoreText bug. The italic styles are synthesized by LibreOffice when missing, which is a standard behavior.

We are missing Medium though, needs investigation.
Comment 4 ⁨خالد حسني⁩ 2023-02-06 14:33:36 UTC
Does not look like a variable fonts issue, duplicate of bug 147739 actually.

*** This bug has been marked as a duplicate of bug 147739 ***
Comment 5 Thomas Linard 2023-02-14 17:20:45 UTC
Medium is available in FontBook (for Martian Mono and Labrada).