From 6104bbdce6029d1e3c39aaa5b0f86d9f5ac5965d Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Tue, 28 Mar 2023 02:53:00 +0200
Subject: GraphUI Label: Remove glyphVisitor's debug code (exception handling)

---
 src/graphui/classes/com/jogamp/graph/ui/gl/shapes/Label.java | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

(limited to 'src/graphui/classes/com')

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)+"'";
     }
 }
-- 
cgit v1.2.3