Skip to content

Conversation

@hason
Copy link

@hason hason commented Oct 23, 2019

I want to generate svg using the command line. I have prepared PoC which unfortunately does not work. I would like to remove the dependency of the code on document and window. I think that svg rendering in project https://chiselapp.com/user/moinejf/repository/abc2svg/dir is well done.

@bbloomf
Copy link
Owner

bbloomf commented Oct 23, 2019

Take a look at the feature/react-native branch, which I recently created to be able to render SVGs on React Native. You have to use the new TextMeasuringStrategy.OpenTypeJS and pass in an object hash of font names to OpenTypeJS font objects for those fonts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants