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

Anisotropic interpolation produces wrong (-90°) Italic angle for instances #236

Open
frankrolf opened this issue May 10, 2021 · 1 comment

Comments

@frankrolf
Copy link

I filed this issue in the wrong repo:
LettError/MutatorMath#259

Copy-pasting the original issue below.
Please follow the link above for some thoughts by @LettError.

First pointed out by @kaibernau:

An anisotropic interpolation will result in an unexpected Italic angle for the instance UFOs.
Anisotropic interpolation basically splits the x- and y- axis by allowing different factors for each.
This is how to indicate it for a given instance:

        <dimension name="weight" xvalue="57" yvalue="52"/>

In the attached project, the Italic angle for both masters is -11°.
Using anisotropic interpolation, the italic angle for the instance ends up as -90°.
This is true for any value of y, including 0 and = x

I reproduced Kai’s finding using the AFDKO’s makeinstancesufo:

makeinstancesufo -ac -d designspace.designspace
# -ac switches off autohint/checkoutlinesufo

italic_angle_issue.zip

@benkiel
Copy link
Member

benkiel commented Jun 22, 2021

@frankrolf This may now be fixed by #189. I haven't tested yet, however.

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