googlefonts / googlefonts/ufo2ft

Kern splitter: Different number of kern features per master

Open
#642 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
176
Forks
48
PR merge metrics
No merged PRs in 30d

Description

In one of our fonts, with ufo2ft 2.29.0b1 I get the following message when compiling a VF:

```
Couldn't merge the fonts, because some values were different, but should have
been the same. This happened while performing the following operation:
GPOS.table.FeatureList.FeatureCount

The problem is likely to be in Something Cd Hair Italic:
Expected to see .FeatureCount==11, instead saw 9

Incompatible features between masters.
Expected: kern, kern, kern, kern, kern, kern, kern, kern, kern, mark, mkmk.
Got: kern, kern, kern, kern, kern, kern, kern, mark, mkmk.
```

Will dig deeper later.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the variable-font compilation with ufo2ft 2.29.0b1 and compare the GPOS FeatureList values across masters, especially the differing kern feature counts. Done means the reported incompatible features no longer prevent compilation, with the behavior verified against the affected font.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
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.