summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/graph
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-04-14 17:43:55 +0200
committerSven Gothel <[email protected]>2023-04-14 17:43:55 +0200
commit3d0f8a7cd720801c6f247c38c95df556a10fff27 (patch)
tree94b666d77fb94b9e1f41a496586e776796780a3a /src/jogl/classes/jogamp/graph
parente4bddd1682233257a20eb73e22b068d5d4694860 (diff)
Typecast Font.Glyph: Expose isUndefined(), i.e. name == ".notdef"
Diffstat (limited to 'src/jogl/classes/jogamp/graph')
-rw-r--r--src/jogl/classes/jogamp/graph/font/typecast/TypecastGlyph.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jogl/classes/jogamp/graph/font/typecast/TypecastGlyph.java b/src/jogl/classes/jogamp/graph/font/typecast/TypecastGlyph.java
index 560d0902b..d851efc3e 100644
--- a/src/jogl/classes/jogamp/graph/font/typecast/TypecastGlyph.java
+++ b/src/jogl/classes/jogamp/graph/font/typecast/TypecastGlyph.java
@@ -142,6 +142,9 @@ public final class TypecastGlyph implements Font.Glyph {
public final boolean isWhiteSpace() { return this.isWhiteSpace; }
@Override
+ public final boolean isUndefined() { return name == ".notdef"; }
+
+ @Override
public final AABBox getBoundsFU() { return bbox; }
@Override