From a8de1673ca83475227fcc914fd94a9a0be1cba79 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 24 Sep 2023 16:50:49 +0200 Subject: Bug 1462 - Graph Font: Add name + codepoint to ID and Glyph mapping plus traversing through all Glyphs See UISceneDemo03 new Button(options.renderModes, fontSymbols, " "+fontSymbols.getUTF16String("pause")+" ", buttonWidth, buttonHeight); // pause Unicode codepoint symbol is also contained in FontGlyph --- src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java') diff --git a/src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java b/src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java index 47f8e1b2a..2cd40c6e4 100644 --- a/src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java +++ b/src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java @@ -186,7 +186,7 @@ public abstract class GLRegion extends Region { final int[] vertIndexCount = { 0, 0 }; final Font.GlyphVisitor2 visitor = new Font.GlyphVisitor2() { @Override - public final void visit(final char symbol, final Font.Glyph glyph) { + public final void visit(final Font.Glyph glyph) { if( !glyph.isNonContour() ) { Region.countOutlineShape(glyph.getShape(), vertIndexCount); } -- cgit v1.2.3