aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/com/jogamp/graph/ui/shapes/Label.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-09-24 16:50:49 +0200
committerSven Gothel <[email protected]>2023-09-24 16:50:49 +0200
commita8de1673ca83475227fcc914fd94a9a0be1cba79 (patch)
treef180bafeb037fd66eed565236a054322fe5e229e /src/graphui/classes/com/jogamp/graph/ui/shapes/Label.java
parent0c8700589abffe13e42f18d3c755541268d44a34 (diff)
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
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/shapes/Label.java')
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/shapes/Label.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/shapes/Label.java b/src/graphui/classes/com/jogamp/graph/ui/shapes/Label.java
index b98e93174..06e82d659 100644
--- a/src/graphui/classes/com/jogamp/graph/ui/shapes/Label.java
+++ b/src/graphui/classes/com/jogamp/graph/ui/shapes/Label.java
@@ -202,7 +202,7 @@ public class Label extends GraphShape {
private final Font.GlyphVisitor glyphVisitor = new Font.GlyphVisitor() {
@Override
- public void visit(final char symbol, final Glyph glyph, final AffineTransform t) {
+ public void visit(final Glyph glyph, final AffineTransform t) {
if( !glyph.isNonContour() ) {
final OutlineShape shape = glyph.getShape();
shape.setSharpness(oshapeSharpness);