minimal build for name table parsing #793
Unanswered
andreasplesch
asked this question in
Q&A
Replies: 2 comments
-
You basically answered your question already! 😊 Comment out any tables you don't need (I'm not completely sure whether our current build process does tree shaking, though. I assume it should, if you also remove the import statements, but you might have to remove the imports as well - just try it out) and anything related to outline extraction. You might need to have to handle some errors regarding tables that are assumed as necessary, but other than that, it should be fairly easy. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ok, I will give it a try. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to use Opentype.js to extract the font family name, and other name entries, from a font file but do not need any other functionality. Is there an example or instructions on how to customize building for a minimal bundle ?
It looks like a first step would be to comment out support for most tables in opentype.js ?
Beta Was this translation helpful? Give feedback.
All reactions