Skip to content

Issue with namedVariations in Variable Font (SourceSans3VF.otf) #347

@msueyoshi-m

Description

@msueyoshi-m

I've encountered an issue where retrieving namedVariations fails for the SourceSans3VF-(Upright/Italic).otf variable font.

It seems that the fvar table's subFamilyNameID is set to 2, while the code expects this ID to be greater than 256. From what I understand, the name table’s fontFeatures are being used to obtain the subfamily name for the fvar instance, but this process only targets IDs greater than 256, leading to the failure.

To reproduce:

  1. Load SourceSans3VF.otf with fontkit.
  2. Attempt to access namedVariations.

You can download the font from this link.
Thank you for looking into this!

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