Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UTF-8 #13

Open
alena424 opened this issue Apr 13, 2018 · 0 comments
Open

UTF-8 #13

alena424 opened this issue Apr 13, 2018 · 0 comments

Comments

@alena424
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant