Hello, do you know of any simple approach to set the default text encoding to Unicode for the iText PDF renderer other than adding an external font with the IDENTITY_H option in `.addFont(...)`? Docs reference for the current approach:
The Flying Saucer User's Guide
I also tried adding multiple fonts at once via `
renderer.getFontResolver.addFontDirectory`. However, when the PDF is generated, the encoding used is still the default one, ANSI/Latin-1, even if the font files would support Unicode, and the method has no parameter to set the encoding.
I'm thinking to contribute a PR to have an overloaded `addFontDirectory` where the encoding can be specified (or maybe we can even have Unicode set for the renderer by default?). The one that is called now I see then calls `addFont` with `Cp1252` as encoding.
PS: @Andrei / @Peter, this project has been very useful to me. If you have some crypto wallet(s) for the project, I'll happily chip in the price of a coffee :)