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 font support for base64 format #682

Open
YatogamiMikoto opened this issue Apr 13, 2023 · 0 comments
Open

Add font support for base64 format #682

YatogamiMikoto opened this issue Apr 13, 2023 · 0 comments
Labels
feature request New feature or request fonts Issues with rendering fonts

Comments

@YatogamiMikoto
Copy link

Hi Developers,
We are using your library to build reports for our application

Motivation

The problem arose when we wanted to add custom fonts to our report. Even though the library supports custom fonts, if the font file is present in a file directory.

We don't have a server to store a .ttf file to use the custom font.

Proposed Solution

We would be storing the .ttf file in a cloud server and fetching the file as base64 and this base64 as the source of .ttf file in the html code whose PDF is to be converted.

Can you please add a feature to your code base such that this .ttf file can be decoded and be used as a source for custom font.

@YatogamiMikoto YatogamiMikoto added the feature request New feature or request label Apr 13, 2023
@timobrembeck timobrembeck added the fonts Issues with rendering fonts label Apr 15, 2023
@timobrembeck timobrembeck changed the title Custom Fonts support base64 format Add font support for base64 format Apr 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request fonts Issues with rendering fonts
Projects
None yet
Development

No branches or pull requests

2 participants