diff options
Diffstat (limited to 'src')
3 files changed, 3 insertions, 3 deletions
diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java b/src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java index 86869b5a6..8803fbf14 100644 --- a/src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java +++ b/src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java @@ -288,7 +288,7 @@ public class FontView01 { static String getGlyphInfo(final char symbol, final Font.Glyph g) { final OutlineShape os = g.getShape(); - final int osVertices = null != os ? os.getOutlineVectexCount() : 0; + final int osVertices = null != os ? os.getVertexCount() : 0; final String ws = g.isWhiteSpace() ? ", ws" : ""; return String.format((Locale)null, "%s%nHeight: %1.3f%nLine Height: %1.3f%n%nSymbol: 0x%s, id 0x%s%s%nName: %s%nDim %1.3f x %1.3f%nAdvance %1.3f%nLS Bearings: %1.3f%nVertices: %d%n ", g.getFont().getFullFamilyName(), 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; |