Skip to content

Implementation of setInstances #7

Open

Description

@digitaltembo

Hello! I'm going into this without much knowledge about fonts, but am looking into the possibility of changing a variable font's instances and then exporting it as a new font file. Would anyone have any pointers as to how I would go about doing that? The naive

font.tables['fvar'].instances = [...];
font.download();

didn't work as I had hoped.
(This might also be a question for opentype.js, but I figured if I was able to implement it, it would be a nice addition for this library)

Activity

  1. jama1017 commented on Apr 20, 2022

    @jama1017

    Hi! I am wondering about the same thing - it looks like variableFont.js only allows you to extract variable font information but does not allow you to modify it. Have you made any progress on this?

  2. mattlag commented on Jan 21, 2023

    @mattlag

    Following! It would be huge if we could both read and write variable font information. Ideally it could be integrated in OpenType.js - but if I have to put up with two libraries to read and write variable font information from JS, then so be it :-)

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