Skip to content

Font issues with CJK #923

@wlfbck

Description

@wlfbck

I'm running into some issues using FlatLaf with CJK languages. The thing is, it's not an error across the board (although it does affect the majority of text). Other languages like slovenian or russian are not affected. All texts are UTF8 and interpreted as such.

Here it is in JTabbedPane header (custom class):
grafik

As you can see the "TC" in that one label is rendered correctly.

And here are JButtons (also custom class):
grafik

This only happens when i activate FlatLaf, here are the same elements without:
grafik
grafik

I also noticed that the characters without FlatLaf are appear anti-aliased, but not with. I suspect it has something to do with font selection and maybe our custom classes for the GUI objects, but that doesn't explain why the same type of element (the JButton) is working in some instances but not in others.

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