Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inject own local font. #121

Open
janstevcik21 opened this issue Feb 15, 2024 · 3 comments
Open

Inject own local font. #121

janstevcik21 opened this issue Feb 15, 2024 · 3 comments
Labels
custom fonts enhancement New feature or request question Further information is requested

Comments

@janstevcik21
Copy link

Is there possibility to inject own local font family?

@piotr-graczyk-gmi
Copy link

You have to add it throw epub file

@victorsoares96
Copy link
Owner

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...

@victorsoares96 victorsoares96 added enhancement New feature or request question Further information is requested labels Mar 11, 2024
@ahmetfarukekinci
Copy link

Is there any update on this?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
custom fonts enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants