joffrey-bion / fx-log

A free live log viewer
MIT License
18 stars 5 forks source link

Embed FontAwesome icons in the app to avoid network calls #92

Open joffrey-bion opened 8 years ago

joffrey-bion commented 8 years ago

FX Log currently uses ControlsFX, which calls a url on the web:

public FontAwesome() {
    this("http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/fonts/fontawesome-webfont.ttf"); //$NON-NLS-1$
}

Find a way to load the font from a local TTF file resource, or explore other solutions here: http://stackoverflow.com/questions/24430121/how-to-use-font-awesome-in-a-fxml-project-javafx