You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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?
The text was updated successfully, but these errors were encountered: