Skip to content

Typeface data should end up as requires from local file #1

Description

@johno

In order to avoid duplicate data we should have a structure like:

{
  // ...
  typefaces: {
    normal: {
      400: require('./typefaces/normal-400.json')
      // ...
    }
    // ...
  }
}

This should knock out about half the size of installed font packages, ending up in the range of 250-700kB.

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