-
-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature/load fonts as byte streams (#411)
* Add AddUTF8FontFromBytes to repository Allow to provide font files as Byte streams directly instead of loading from file. This is specially useful when using `go:embed` to include the asset files in the binary generating the PDFs. * fixup! Add AddUTF8FontFromBytes to repository * Use assert.Len instead of Equal
- Loading branch information
1 parent
4f5e446
commit a65b707
Showing
3 changed files
with
93 additions
and
4 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters