Skip to content

UTF-8 #13

Open
Open

Description

@alena424

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions