typefaces icon indicating copy to clipboard operation
typefaces copied to clipboard

Typeface data should end up as requires from local file

Open johno opened this issue 4 years ago • 0 comments

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.

johno avatar May 04 '21 15:05 johno