Skip to content

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