googlefonts / googlefonts/glyphsLib
support alignment attribute of components
- Dominant language
- Python
- Stars
- 201
- Forks
- 56
- Avg merge
- 17m
- Merged PRs (30d)
- 1
Description
Components in .glyphs source files may contain an `alignment` attribute.
There's no mention about this in the [GlyphsFileFormat.md](https://github.com/schriftgestalt/GlyphsSDK/blob/master/GlyphsFileFormat.md) specification.
In my observations, it can take a value of `1` or `-1`; and I suppose that when the attribute is missing the value is `0`?
I am not sure what these values do, and how a user can set them from the interface.
I'd be nice if @schriftgestalt could shed some light on this, so we can add support in `glyphsLib`.
Contributor guide
Research direction
Start by reading GlyphsFileFormat.md and the glyphsLib handling of components in .glyphs source files. Confirm what alignment values mean and how users set them through the interface, then define the expected support and update the specification and library accordingly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100