googlefonts / googlefonts/glyphsLib

Reduce information written to Designspace file

Open
#536 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
201
Forks
56
Avg merge
17m
Merged PRs (30d)
1

Description

Currently, the amount of information written to Designspace files looks a bit much, with duplicated information, etc. See if we can go from e.g.

```XML







































[...]


```

to

```XML

































[...]


```

The prime obstacle will probably be the call to MutatorMath in fontmake, which uses old code to parse the Designspace file and may expect certain data.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how glyphsLib writes Designspace files, then inspect the MutatorMath parsing path used by fontmake, which the issue identifies as a compatibility risk. Compare the current output with the reduced examples and verify that the shortened files remain consumable by MutatorMath and fontmake.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.