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

Material UI Swing doesn't supports emojis #93

Open
ThomasLachaux opened this issue Dec 27, 2019 · 3 comments
Open

Material UI Swing doesn't supports emojis #93

ThomasLachaux opened this issue Dec 27, 2019 · 3 comments
Assignees
Labels
doc Some documentations enhancement

Comments

@ThomasLachaux
Copy link

Hey,

I've just tried this library, it's awesome but I use emojis (like ♥) with Swing and it seems that the library doesn't support them.

Is it due to the font ?

Have a nice day

@vincenzopalazzo vincenzopalazzo self-assigned this Dec 27, 2019
@vincenzopalazzo vincenzopalazzo added doc Some documentations enhancement labels Dec 27, 2019
@vincenzopalazzo
Copy link
Collaborator

vincenzopalazzo commented Dec 27, 2019

Hi @ThomasLachaux,

I've just tried this library, it's awesome

Thank for your kind words

Is it due to the font?

I think yes, this is the problem of the personal font (Noto Sans) but now I want to schedule the feature to support the fonts, like this.

Also, We are open-source programmers and we will have need the time for adding this support, for the moment I should have a solution to support the emoji via MaterialTheming.

Is it possible to customize the font developed a new theme, I have described the same solution in this issue.

to conclude you can create a personal theme and override the method installFonts() inside it you can set all your preferer font, I want suggestions you to use the system font, they should be support the emoji.

If you have ane problem, you can find help from me.

PS: I hope that I helped you.

Good day.

@metteo
Copy link

metteo commented Jun 14, 2020

I had a similar issue. Tried to use media control symbols in labels but when switched to Material L&F they showed up as empty rectangles. Had to switch to JIconFont as a workaround.

@vincenzopalazzo
Copy link
Collaborator

Hi @metteo,

Thanks for this informations, unfortunately, the personal font used inside the library doesn't support emoji but you can resolve the problem with a custom theme and you can load the native fonts

Described inside this issue

Unfortunately at the moment is not scheduled to change the font inside the library.

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

No branches or pull requests

3 participants