Open salmantln opened 3 years ago
This could be a problem with the font family name
Any idea what the font family name should be or how i can get it?
The font family should be able to be set using the fontello app. Personally I use use the icomoon to create fonts. There should be a setting that lets you specify a custom font family name. If there isn't then you could switch to icomoon or use a font editor (I use FontForge on OSX) to set the value.
I tried the font file materialdesign-pack of this lib, with the same family name but still hit the same problem.
Any helps is highly appreciated.
If it can help some people who faced this problem. In order for the icon to be displayed properly, the CSS file associated to the font file (fontello generates 5) need to be loaded in the scene of your javafx program.
Some adjustments to the CSS might be necessary regarding the url defined in the @font-face block.
I followed the docs on https://kordamp.org/ikonli/#_authoring to try and get my custom icon into my button. But when I try it, I get and use
CAPTCHA("my-icon-captcha", '\uE001');
i get a checkmark icon:I use the site https://fontello.com/ to create my custom icon.
This is what I get when i am trying to use
MyIcon
:how can i make sure that i get my own icon?