googlefonts / googlefonts/fontmake

Variation alternates not processed for statics

Open
#1,042 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
888
Forks
97
Avg merge
4d 52m
Merged PRs (30d)
1

Description

I'm not sure whether this is intentional, but it feels a lot like an oversight:
`ufo2ft` (both stable release as well as repo version) isn’t processing the alternates for static fonts, see below (static vs. variable).

![Bildschirmfoto 2023-09-26 um 10 36 42](https://github.com/googlefonts/ufo2ft/assets/175386/9bf6c480-85b0-4464-b04e-8b6bc21c383b)

The master UFO do contain the relevant substitutions (and they work in variable):
```xml






















```

Always happy to help with further debugging. It's a commercial font so I can't post a source but can invite you to my repo.

Contributor guide

Open the contributing guide

Research direction

No project file or test is named. Start by tracing ufo2ft's static-font handling of conditional substitutions and compare it with the variable-font path; use the supplied substitutions as the expected behavior and add a regression test once a reproducible fixture is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.