diff options
author | Sven Gothel <[email protected]> | 2023-04-14 17:43:55 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-04-14 17:43:55 +0200 |
commit | 3d0f8a7cd720801c6f247c38c95df556a10fff27 (patch) | |
tree | 94b666d77fb94b9e1f41a496586e776796780a3a /src/jogl/classes/jogamp/graph | |
parent | e4bddd1682233257a20eb73e22b068d5d4694860 (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.java | 3 |
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 |