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

Feature/expose add font family #208

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Shayaomer
Copy link

In order to add custom font that loaded locally in my project, it's essential to insert the font name into the exisiting fonts dictionary.
Thus I exposed the AddFontFamily method to the PdfGenerator class, in order to add my custom fonts to the _exisitingFont dicitonary and use those fonts instead of the default Segoe UI.

I havn't found another way to use custom fonts on non-windows machines.

karel-hajek-absa and others added 3 commits March 4, 2020 17:33
In order to add custom font that loaded locally in the project, it's essential to insert the font name into the exisiting fonts dictionary.
thus I exposed the insert method to the PdfGenerator class
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

Successfully merging this pull request may close these issues.

2 participants