Skip to content

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

@frankrolf

Description

@frankrolf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions