aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/graph
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph')
-rw-r--r--src/jogl/classes/com/jogamp/graph/font/Font.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/font/Font.java b/src/jogl/classes/com/jogamp/graph/font/Font.java
index f296c77b3..1b5452a45 100644
--- a/src/jogl/classes/com/jogamp/graph/font/Font.java
+++ b/src/jogl/classes/com/jogamp/graph/font/Font.java
@@ -256,6 +256,24 @@ public interface Font {
StringBuilder getAllNames(final StringBuilder string, final String separator);
/**
+ * Returns the hash code based on {@link #NAME_UNIQUNAME}.
+ * <p>
+ * {@inheritDoc}
+ * </p>
+ */
+ @Override
+ int hashCode();
+
+ /**
+ * Returns true if other instance is of same type and {@link #NAME_UNIQUNAME} is equal.
+ * <p>
+ * {@inheritDoc}
+ * </p>
+ */
+ @Override
+ boolean equals(final Object o);
+
+ /**
* Return advance-width of given glyphID in font-units, sourced from `hmtx` table.
* @param glyphID
*/