googlefonts / googlefonts/glyphsLib

Saving font, enable GlyphInfo of all glyphs – `Glyphs3-merge` branch

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

Description

@schriftgestalt
Since a recent change (I guess), saving a GSFont now automatically turns on all the checkboxes from GlyphsInfo for all glyphs! I suspsect this [commit](https://github.com/googlefonts/glyphsLib/commit/96e1bc9cb35e7acc7b704d0868d73423272cd4c6) to introduced this bug

Image

```python
from glyphsLib import *

font = GSFont(".../New Font.glyphs")
font.save()
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported behavior with the Python snippet and inspect commit 96e1bc9cb35e7acc7b704d0868d73423272cd6. Compare GlyphsInfo checkbox state before and after saving the GSFont; done means saving no longer enables all glyph metadata flags unexpectedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.