Skip to content

Commit b11739a

Browse files
committed
Add Verdana
1 parent b64ba77 commit b11739a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/main/java/com/github/introfog/gitwave/GitWaveLauncher.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
public class GitWaveLauncher extends Application {
2626
@Override
2727
public void start(Stage stage) {
28+
String fontPath = getClass().getResource("/fonts/Verdana.ttf").toExternalForm();
29+
javafx.scene.text.Font.loadFont(fontPath, 12);
30+
2831
StageFactory.createPrimaryExecuteWindow(stage).getStage().show();
2932
AppConfig.getInstance().setHostServices(getHostServices());
3033
if (AppConfig.getInstance().getPathToBash() == null) {

src/main/resources/fonts/Verdana.ttf

150 KB
Binary file not shown.

0 commit comments

Comments
 (0)