PortableSigner2
PortableSigner2 copied to clipboard
UTF-8
I am writing to ask one question.
We want to use UTF-8 symbols in visual sign block. We would need to call a different font based to UTF-8 or better font using FontFactory that would generate UTF-8 version of font.
Now there is: new Font(Font.HELVETICA, 10) new Font(Font.COURIER, 10)
Example of new solution using BaseFont (WINANSI):
BaseFont bf = BaseFont.createFont(font, BaseFont.WINANSI, BaseFont.EMBEDDED);
Or better:
Font font = FontFactory.getFont(FONT, BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
Where font is a chosen font as COURIER or HELVETIKA
Could you please help us to fix it?