aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-03-28 02:53:00 +0200
committerSven Gothel <[email protected]>2023-03-28 02:53:00 +0200
commit6104bbdce6029d1e3c39aaa5b0f86d9f5ac5965d (patch)
tree25de28c1bb05cc975b997d65771a18436f65faa4 /src/graphui/classes/com/jogamp
parentd6fbb827781a349892d215c6854202f6f24f78e5 (diff)
GraphUI Label: Remove glyphVisitor's debug code (exception handling)
Diffstat (limited to 'src/graphui/classes/com/jogamp')
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/gl/shapes/Label.java12
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)+"'";
}
}