googlefonts / googlefonts/fontmake

Error when building Designspace 5 file with a discrete axis, 2 fonts (roman and italic)

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

Description

When I try to build the designspace file I get the following:

```
INFO:fontTools.varLib:Merging OpenType Layout tables
fontmake: Error: In 'MyFont.designspace': Generating fonts from Designspace failed:

Couldn't merge the fonts, because the glyph order was inconsistent between
masters. This happened while performing the following operation:
GPOS.table.LookupList.Lookup[0]
```
Both fonts, roman and italic builds correctly when doing it separately, is it required that both set of sources have the same glyphorder?

This is how it looks the Dspace file, any idea what I’m doing wrong?

```
















































































```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the build from MyFont.designspace with the six named UFO sources and inspect the glyph order in the roman and italic files. Trace the fontmake/fontTools path reported in the GPOS LookupList.Lookup[0] error. Done means identifying whether the designspace setup or differing source glyph orders causes the failure, with a documented diagnosis or targeted regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.