Bug 2258723 - Variable fonts packages dont include all axis
Summary: Variable fonts packages dont include all axis
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: google-noto-fonts
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-01-17 04:56 UTC by sharpenedblade
Modified: 2024-05-20 04:24 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description sharpenedblade 2024-01-17 04:56:07 UTC
The *-vf packages package files from the `slim-variable-ttf` dir, which do not include every axis available for the font. Variable font files with all supported axis are in `variable-ttf` dir instead.

Reproducible: Always

Steps to Reproduce:
1. Install `google-noto-sans-vf`
2. Check which axis are supported
3. Download `https://github.com/notofonts/notofonts.github.io/archive/refs/tags/noto-monthly-release-23.8.1.tar.gz` and look in the `fonts/NotoSans/unhinted/variable-ttf` direcotry
Actual Results:  
Only the weight axis is variable in this package

Expected Results:  
The weight and width axis are variable in this package

Changing the path at https://src.fedoraproject.org/rpms/google-noto-fonts/blob/rawhide/f/google-noto-fonts.spec#_1190 works for every variable font/script except for NotoKufiArabic, which has the complete font files in the `variable` dir.

Before compression, this is ~16mb larger than before (total, across all subpackages).

Comment 1 vtq 2024-05-18 09:32:10 UTC
The included weight in the `slim-variable-ttf` font files of Noto Sans and Noto Serif also seems to be limited to only 400 to 700.

Comment 2 Akira TAGOH 2024-05-20 04:24:53 UTC
For the record, https://src.fedoraproject.org/rpms/google-noto-fonts/pull-request/6#comment-179904

"""
Well, we can't simply go ahead with this change. There are a known problem in fontconfig about a sort of rounding error for width constant. wdth axis may not work as expected.
"""

(Adding FutureFeature in Keywords to avoid bumping Version chase in the future)


Note You need to log in before you can comment on or make changes to this bug.