googlefonts / googlefonts/glyphsLib
wrong layer.bounds with double nested components
- Dominant language
- Python
- Stars
- 201
- Forks
- 56
- Avg merge
- 17m
- Merged PRs (30d)
- 1
Description
If a layer uses a double-nested component, the origin x and y of the bounds returned are incorrect.
Here is a test file : [wrong_layer_bounds_with_nested_component.glyphs.zip](https://github.com/user-attachments/files/18008941/wrong_layer_bounds_with_nested_component.glyphs.zip)
`quotedblright` is made with `quotedblleft` himsel made with two `comma`
From GlyphsApp
```
size=>
```
from glyphLib
```
size=>
```
Contributor guide
Research direction
Start with the attached wrong_layer_bounds_with_nested_component.glyphs.zip file and reproduce the bounds discrepancy described for quotedblright, quotedblleft, and comma. Compare glyphLib's returned origin and size with the GlyphsApp values; done means the double-nested component produces matching bounds.
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
- 42/100