diff options
author | Sven Göthel <[email protected]> | 2024-01-25 09:00:20 +0100 |
---|---|---|
committer | Sven Göthel <[email protected]> | 2024-01-25 09:00:20 +0100 |
commit | 4cbf5297af18f541baa5cd5b85017b1a7a5c19c0 (patch) | |
tree | dd120477c0bc762c502d4318e14d16de42599b87 /src/jogl/classes/com | |
parent | 4358310d3233f38d154c03ffbf1fed71891aeaf3 (diff) |
Graph: Drop non-existing 'JAVA' font from FontFactory
Diffstat (limited to 'src/jogl/classes/com')
-rw-r--r-- | src/jogl/classes/com/jogamp/graph/font/FontFactory.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/font/FontFactory.java b/src/jogl/classes/com/jogamp/graph/font/FontFactory.java index b873b78ec..cd39abdfe 100644 --- a/src/jogl/classes/com/jogamp/graph/font/FontFactory.java +++ b/src/jogl/classes/com/jogamp/graph/font/FontFactory.java @@ -1,5 +1,5 @@ /** - * Copyright 2010-2023 JogAmp Community. All rights reserved. + * Copyright 2010-2024 JogAmp Community. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: @@ -42,7 +42,6 @@ import com.jogamp.common.util.SecurityUtil; import com.jogamp.common.util.cache.TempJarCache; import jogamp.graph.font.FontConstructor; -import jogamp.graph.font.JavaFontLoader; import jogamp.graph.font.SymbolsFontLoader; import jogamp.graph.font.UbuntuFontLoader; @@ -64,9 +63,6 @@ public class FontFactory { /** Symbols is the default symbol font family and contains rounded material symbol fonts, {@value} */ public static final int SYMBOLS = 10; - /** Java fonts are optional, {@value} */ - public static final int JAVA = 1; - private static final FontConstructor fontConstr; static { @@ -88,8 +84,6 @@ public class FontFactory { public static final FontSet get(final int font) { switch (font) { - case JAVA: - return JavaFontLoader.get(); case SYMBOLS: return SymbolsFontLoader.get(); default: |