Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong layer.bounds with double nested components #1052

Open
HugoJourdan opened this issue Dec 4, 2024 · 0 comments
Open

wrong layer.bounds with double nested components #1052

HugoJourdan opened this issue Dec 4, 2024 · 0 comments

Comments

@HugoJourdan
Copy link

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

quotedblright is made with quotedblleft himsel made with two comma

From GlyphsApp

<CoreFoundation.CGRect origin=<CoreFoundation.CGPoint x=72.99999999999989 y=463.0> size=<CoreFoundation.CGSize width=251.00000000000006 height=237.0>>

from glyphLib

 <rect origin=<point x=861 y=1603> size=<size width=251 height=237>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant