material-ui-swing icon indicating copy to clipboard operation
material-ui-swing copied to clipboard

Material UI Swing doesn't supports emojis

Open ThomasLachaux opened this issue 5 years ago • 3 comments

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

ThomasLachaux avatar Dec 27 '19 16:12 ThomasLachaux

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.

vincenzopalazzo avatar Dec 27 '19 17:12 vincenzopalazzo

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.

metteo avatar Jun 14 '20 08:06 metteo

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.

vincenzopalazzo avatar Jun 15 '20 03:06 vincenzopalazzo