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

Customizable PDF fonts #2

Open
delameter opened this issue Apr 9, 2023 · 2 comments
Open

Customizable PDF fonts #2

delameter opened this issue Apr 9, 2023 · 2 comments

Comments

@delameter
Copy link

Hello again.

After making several PDFs noticed that there is no embedded fonts inside. That was expected, but default document viewer renders them in Times font (Times New Roman), also known as "Font of Pain" in my homeland. (because de facto it's a standard font for papers and essays in universities).

Next I tried to substitute it with something better using Ubuntu system font manager, but these rules are simply ignored, maybe because the fonts are already substituted, I have no idea.

The question is, how hard would it be to add an option/configuration value to set font family for produced PDFs? With or without embedding. I ran through groff man page but didn't see anything similar. What I did found is that groff can make TeX files, so theoretically it's possible to make a "tex" file, add directives to setup fonts, and feed it to latex to grab a PDF, but I hope there is a more elegant way to do it.

Thanks

@sebastiancarlos
Copy link
Owner

Thanks for the report,

Unfortunately, with the tech stack in use, fonts are generally limited to Times at hardcoded sizes.

Fortunately, I have some ideas in this area that I hope to try soon.

@delameter
Copy link
Author

Thanks :) Will wait for it

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