aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl')
-rw-r--r--src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java2
-rw-r--r--src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java b/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java
index 20eaca236..1a1bd94dd 100644
--- a/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java
+++ b/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java
@@ -224,7 +224,7 @@ public final class OutlineShape implements Comparable<OutlineShape> {
}
/** Returns the total {@link Outline#getVertexCount() vertex number} of all {@link Outline}s. */
- public final int getOutlineVectexCount() {
+ public final int getVertexCount() {
int res = 0;
for(final Outline o : outlines) {
res += o.getVertexCount();
diff --git a/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java b/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java
index 7cf520bf3..ce490bdf0 100644
--- a/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java
+++ b/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java
@@ -214,7 +214,7 @@ class TypecastFont implements Font {
glyph_leftsidebearings = glyph.getLeftSideBearing();
final AABBox sb = glyph.getBBox();
final OutlineShape s = TypecastRenderer.buildShape(metrics.getUnitsPerEM(), glyph);
- if( 0 < s.getOutlineVectexCount() ) {
+ if( 0 < s.getVertexCount() ) {
glyph_bbox = sb;
shape = s;
isWhiteSpace = false;