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

guideline.position normalization problem #650

Open
typesupply opened this issue Jun 9, 2022 · 0 comments
Open

guideline.position normalization problem #650

typesupply opened this issue Jun 9, 2022 · 0 comments

Comments

@typesupply
Copy link
Member

I think this is because _set_position uses moveBy to move the coordinates. moveBy calls transformBy which calls _transformBy. The guideline implementation of _transformBy doesn't normalize the resulting coordinates.

Demo:

from fontParts.fontshell import RGuideline

guideline = RGuideline()
guideline.position = (1, 2)
print(guideline.position)
@typesupply typesupply changed the title Point guideline.position normalization problem Jun 9, 2022
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