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

How to use font embedded in the application ? #283

Open
devilsclaw opened this issue Sep 5, 2024 · 1 comment
Open

How to use font embedded in the application ? #283

devilsclaw opened this issue Sep 5, 2024 · 1 comment

Comments

@devilsclaw
Copy link

devilsclaw commented Sep 5, 2024

I would like to embed the fonts in my application like I do the PDF template. If possible I don't want to have to write the fonts into a temporary location and then point the PDF writer to there location. I would like to just point to a memory location with the size and then access the font information via PDFUsedFont*.

I was wondering if this is currently possible and how to do it. Or is it something that is even possible with the current font libraries used ?

@galkahana
Copy link
Owner

Hi, not currently possible, oyu can only create pdfusedfont objects with full path. Probably possible to enhance, but i never bothered. Theres both freetype integration for font info to deal with and the library embedding code to adapt

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

No branches or pull requests

2 participants