victorsoares96 / epubjs-react-native

ePub.js Reader for React Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inject own local font.

janstevcik21 opened this issue · comments

Is there possibility to inject own local font family?

You have to add it throw epub file

You can call the changeFontFamily method to change the .ePub font, currently only fonts already known by the browser are recognized, for custom fonts such as Google fonts, there is currently no support for inserting them using this library.

Perhaps it is possible to make some advances using the solution proposed in this link gerhardsletten/react-reader#95 (comment)

it is something that I need to analyze the possibility...

Is there any update on this?

I need to inject Google fonts but could not find any way :/