PortableSigner2 icon indicating copy to clipboard operation
PortableSigner2 copied to clipboard

UTF-8

Open alena424 opened this issue 6 years ago • 0 comments

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?

alena424 avatar Apr 13 '18 07:04 alena424