robotools / fontParts

The replacement for RoboFab
MIT License
132 stars 44 forks source link

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

Closed frankrolf closed 11 months ago

frankrolf commented 11 months ago

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 commented 11 months ago

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