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

Add a custom font Bogle #1523

Open
JaneCS2018 opened this issue Sep 30, 2023 · 0 comments
Open

Add a custom font Bogle #1523

JaneCS2018 opened this issue Sep 30, 2023 · 0 comments

Comments

@JaneCS2018
Copy link

Describe your idea

Recently I am trying to build an react app and have difficulties about adding a custom font. I want to ues Bogle and tried using a ttf or otf file in my local, but it requires to use fs plug in. And this plug in only used in node js env. Also I am not able to get a url from this font online, what's the best solution? Is it possible to write a function for embeding more fonts for pdf-lib? Thanks.

How could this be implemented?

Is it possible to write a function for embeding more fonts for pdf-lib? Thanks.

What problem are you trying to solve?

Add a local file font in react app using pdf-lib

Why does this matter to you?

Not able to use certain font

Would others find this helpful?

create a function for react users

Are you interested in implementing your proposal?

Yes

Why are you submitting a proposal?

For improvement of fonts in the future.

Additional Notes

No response

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

No branches or pull requests

1 participant