Skip to content

Designspace rules and feature variations are incompatible #838

Open
@madig

Description

@madig

I didn't realize this before, and maybe I'm confused, but it seems that Designspace rules and feature variations are incompatible with each other, at least with the current implementation of varLib. Compiling a VF with DS rules and then calling addGSUBFeatureVariations either conflicts (when targeting the same feature as the rules) or overwrites what's there, if I understand correctly. Now that ufo2ft enables variable feature compilation by accident due to compiling identical feature files once and injecting them into the VF binary, it may need a RulesWriter of sort, that translates rules into variable features.

I don't understand the constraints around these enough yet, though. Like, how easy or hard is it to mix the generated feature variations for DS rules with custom variations you're writing?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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