From 114cc7be0f43a6cf2540caa0ed47948d7cade54f Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 28 Mar 2023 02:41:30 +0200 Subject: Graph Font.GlyphVisitor*: Pass 'char symbol' to visitor, passing full text-processing information --- src/graphui/classes/com/jogamp/graph/ui/gl/shapes/Label.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/graphui/classes/com/jogamp/graph/ui') diff --git a/src/graphui/classes/com/jogamp/graph/ui/gl/shapes/Label.java b/src/graphui/classes/com/jogamp/graph/ui/gl/shapes/Label.java index 17ea3ad4e..5d45ffb9c 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/gl/shapes/Label.java +++ b/src/graphui/classes/com/jogamp/graph/ui/gl/shapes/Label.java @@ -162,7 +162,7 @@ public class Label extends Shape { private final Font.GlyphVisitor glyphVisitor = new Font.GlyphVisitor() { @Override - public void visit(final Glyph glyph, final AffineTransform t) { + public void visit(final char symbol, final Glyph glyph, final AffineTransform t) { if( glyph.isWhiteSpace() ) { return; } -- cgit v1.2.3