From 4cbf5297af18f541baa5cd5b85017b1a7a5c19c0 Mon Sep 17 00:00:00 2001 From: Sven Göthel Date: Thu, 25 Jan 2024 09:00:20 +0100 Subject: Graph: Drop non-existing 'JAVA' font from FontFactory --- src/jogl/classes/com/jogamp/graph/font/FontFactory.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/jogl/classes/com') 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: -- cgit v1.2.3