From 3d0f8a7cd720801c6f247c38c95df556a10fff27 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 14 Apr 2023 17:43:55 +0200 Subject: Typecast Font.Glyph: Expose isUndefined(), i.e. name == ".notdef" --- src/jogl/classes/jogamp/graph/font/typecast/TypecastGlyph.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/jogl/classes/jogamp/graph/font') 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 @@ -141,6 +141,9 @@ public final class TypecastGlyph implements Font.Glyph { @Override public final boolean isWhiteSpace() { return this.isWhiteSpace; } + @Override + public final boolean isUndefined() { return name == ".notdef"; } + @Override public final AABBox getBoundsFU() { return bbox; } -- cgit v1.2.3