FontAwesomeFX 8.12 is released!
Just released FontAwesomeFX 8.12 to Bintray.
Revisited and updated all Icon Fonts:
Font | Version | What's new? |
---|---|---|
FontAwesome | 4.6.3 | 7 new icons |
Material Icons | 2.2.0 | 81 new icons |
Material Design Font | 1.6.50 | 193 new icons |
Octicons | 4.3.0 | Icons refined (cleanup/22 icons removed) |
525Icons | 2.6.0 | Font updated on 24-06-2016 |
FontAwesomeFX 8.12 |
---|
compile 'de.jensd:fontawesomefx-fontawesome:4.6.3' |
compile 'de.jensd:fontawesomefx-materialdesignfont:1.6.50' |
compile 'de.jensd:fontawesomefx-materialicons:2.2.0' |
compile 'de.jensd:fontawesomefx-octicons:4.3.0' |
compile 'de.jensd:fontawesomefx-icons525:2.6.0' |
compile 'de.jensd:fontawesomefx-weathericons:2.0-3' |
They all depend on |
---|
compile 'de.jensd:fontawesomefx-commons:8.12' |
Optional |
---|
compile 'de.jensd:fontawesomefx-controls:8.12' |
Demo apps |
---|
de.jensd.fx.glyphs.fontawesome.demo.FontAwesomeIconsDemoApp |
de.jensd.fx.glyphs.materialdesignicons.demo.MaterialDesignIconsDemoApp |
de.jensd.fx.glyphs.materialicons.demo.MaterialIconsDemoApp |
de.jensd.fx.glyphs.octicons.demo.OctIconsDemoApp |
de.jensd.fx.glyphs.weathericons.demo.WeatherIconsDemoApp |
de.jensd.fx.glyphs.icons525.demo.Icons525DemoApp |
Here you can find the FontAwesomeFX bintray package.
Source code available at Bitbucket
Please report issues here
Hi!,
I was using GlyphsDude to created icons buttons but I have update from 8.9 to 8.12 version and I’m having trouble importing de.jensd.fx.glyphs.GlyphsDude
This has changed?
Old gradle file > https://github.com/hexagon-robotics/MissionFX/blob/master/build.gradle
New gradle file > https://gist.github.com/uberry/9f1f0a88712e488e8657dda66c95f110
Best regards
Hi Javier,
thanks for using my little lib.
The
GlyphDude
has been replaced byGlyphFactory
. Now each font-pack provides an implementation of this factory, e.g.:de.jensd.fx.glyphs.fontawesome.utils.FontAwesomeIconFactory
Usage:
final Text iconText = FontAwesomeIconFactory.get().createIcon(icon, "2em");
Currently working on a guide and demo app how to use FontAwesomeFX 8.12, stay tuned.
Hi Jens,
Thansk for your reply. I’ll stay tuned.
Best regards.
Does it work with Scene Builder?
How to make it work?
Yes FXML is supported. And you can use it in SceneBuilder.
Have a look here: https://www.youtube.com/watch?v=UM05r6QsSbQ
Even if this clip is online since quite a while I think it is still valid.
Jens
I am trying to import fontawesomefx-fontawesome-4.6.3.jar file but the Scene Builder does not recognise your controls. Any idea why?
You should also include fontawesomefx-commons-8.12.jar.
Thanks, it worked when “commons” were imported before “fontawesome” jar.
Great work!
Hi!! I have this problems, I am trying to import fontawesomefx-commons-8.12.jar (download link https://bintray.com/jerady/maven/FontAwesomeFX/8.12/view#files/de/jensd/fontawesomefx-commons/8.12) but does not recognise your controls, I am using Scene Builder 8.2.0 ??
I am trying with fontawesomefx-fontawesome-4.6.3.jar, but only it works if I have installed other lib, example fontawesomefx-8.9.jar, but it gives conflict to generate runnable jar for having duplicate libraries.
Sorry for my English.
You should also include fontawesomefx-commons-8.12.jar.
I
How can I import fontawesome 8.12 from maven central ( use pom.xml) ?
I can find only :
de.jensd
fontawesomefx
8.9
this does not work:
de.jensd
fontawesomefx-commons
8.12
pom
I want use the material Icon.
Thank you 🙂
Hi Kévin,
since FontAwesomeFX 8.10 I moved it to bintray (no maven central sync yet). So you just have to add the bintray repository: https://bintray.com/jerady/maven/FontAwesomeFX see “Set me up!”.
Jens
Yes perfect 🙂
Last question.
Can you give one example here, how can I call and use it ?
Example from controlsfx:
private GlyphFont fontAwesome = GlyphFontRegistry.font(“FontAwesome”);
help.setGraphic(fontAwesome.create(“QUESTION”));
And how customize the css if I want to add classes ?
Thank you very much
Edit:
In fact i want use SceneBuilder with FXML files if possible.
With the old library in 8.0.10
I do this
Help
And now How can I do ? Thanks
Sorry, it’s horrible to write some code.
Maybe here that will work with ””’ around of my code.
”””””
””””
””””’
””Home
””’
Recently I started a new repo containing examples how to use FontAwesomeFX:
https://github.com/Jerady/fontawesomefx-examples
Have a look!
Jens thank you for your work! I was wondering how I can use these FontIcons as the Icon for a JavaFx Stage. It would require converting the IconView to an image which I tried using the below method but the resulting image is of very low quality. Any suggestions? Thanks
FontAwesomeIconView fontAwesomeIconView =
new FontAwesomeIconView(FontAwesomeIcon.REFRESH);
WritableImage snapshot = fontAwesomeIconView.snapshot(new SnapshotParameters(),null);
final java.awt.image.BufferedImage image =
javafx.embed.swing.SwingFXUtils.fromFXImage(snapshot, null);
final java.io.File file = new java.io.File(“icon.png”);
try {
ImageIO.write(image, “png”, file);
return new Image(file.toURI().toURL().toExternalForm(),64,64,true,true);
} catch (IOException ex) {
return null;
}
please how can i download the FontAwesomeFX 8.12 jar because i can’t find any download button, i wanna download and use it for desktop developments.
Thanks