Skip to content

[varfont/duplexed_axis_reflow] Output flagged locations in user/design coordinates instead of normalized #532

@Hoolean

Description

@Hoolean

Observed behaviour

When the check identifies variation across a duplex axis, it identifies the glyph and position in normalized coordinates, e.g.

ampersand at position wght=0.333333333

Expected behaviour

To find the problem quickly in the sources, it would be helpful for the coordinates to be in design or user coordinates, e.g.

ampersand at position wght=500

Resources and steps needed to reproduce

I do not have a font file to immediately link to, but can reproduce with Fontspector v1.5.1 (latest at time of writing) and can narrow it to here in the code:

.map(|(value, axis)| format!("{}={}", axis, value.get().to_f32()))

(if still needed though, do shoot a ping 🙏)

Thanks for your attention : )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions