diff options
author | Sven Gothel <[email protected]> | 2023-03-28 02:53:00 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-03-28 02:53:00 +0200 |
commit | 6104bbdce6029d1e3c39aaa5b0f86d9f5ac5965d (patch) | |
tree | 25de28c1bb05cc975b997d65771a18436f65faa4 /src/graphui/classes/com/jogamp/graph/ui | |
parent | d6fbb827781a349892d215c6854202f6f24f78e5 (diff) |
GraphUI Label: Remove glyphVisitor's debug code (exception handling)
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui')
-rw-r--r-- | src/graphui/classes/com/jogamp/graph/ui/gl/shapes/Label.java | 12 |
1 files changed, 2 insertions, 10 deletions
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 90094c361..83309b04c 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 @@ -168,15 +168,7 @@ public class Label extends Shape { } final OutlineShape shape = glyph.getShape(); shape.setSharpness(oshapeSharpness); - try { - region.addOutlineShape(shape, t, rgbaColor); - } catch ( final Exception ex ) { - ex.printStackTrace(); - System.err.println("Ex from "+Label.this); - System.err.println("Ex from "+region.toString()); - region.printBufferStats(System.err); - System.exit(-1); - } + region.addOutlineShape(shape, t, rgbaColor); } }; @@ -193,6 +185,6 @@ public class Label extends Shape { @Override public String getSubString() { final int m = Math.min(text.length(), 8); - return super.getSubString()+", pscale " + fontScale + ", '" + text.substring(0, m)+"'"; + return super.getSubString()+", fscale " + fontScale + ", '" + text.substring(0, m)+"'"; } } |