googlefonts / googlefonts/fontc
building font with an empty glyph (e.g. space) gives MissingDefault error
- Dominant language
- Rust
- Stars
- 193
- Forks
- 21
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 60
Description
```
$ cargo run -p fontc -- --source resources/testdata/glyphs3/WghtVar.glyphs
Finished dev [unoptimized + debuginfo] target(s) in 0.12s
Running `target/debug/fontc --source resources/testdata/glyphs3/WghtVar.glyphs`
2023-03-21T13:12:31.861619Z: ThreadId(1): ERROR: Be(Glyph(space)) failed Be(GlyphError(space, MissingDefault))
Error: TasksFailed([(Be(Glyph(space)), "'space' has no default master")])
```
probably because CheckedGlyph.contours is empty for 'space'?
https://github.com/googlefonts/fontmake-rs/blob/21933be754ce0f5498d3e0f3ab4638395a9695ee/fontbe/src/glyphs.rs#L134-L137
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.