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

[question] kerning.scaleBy accepting tuple – why? #703

Closed
frankrolf opened this issue Oct 2, 2023 · 1 comment
Closed

[question] kerning.scaleBy accepting tuple – why? #703

frankrolf opened this issue Oct 2, 2023 · 1 comment

Comments

@frankrolf
Copy link
Collaborator

In the documentation for kerning.scaleBy I see two examples:

            >>> myKerning.scaleBy(2)
            >>> myKerning.scaleBy((2,3))

Which scenario is the 2,3 example for? Vertical kerning? (not likely)

@typemytype
Copy link
Member

see the docs: The first value of the **factor** will be used to scale the kerning values.

a normalised scale value is an x,y tuple

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

2 participants