diff options
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph')
-rw-r--r-- | src/jogl/classes/com/jogamp/graph/font/Font.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/font/Font.java b/src/jogl/classes/com/jogamp/graph/font/Font.java index 1010d4f1a..a942c7a58 100644 --- a/src/jogl/classes/com/jogamp/graph/font/Font.java +++ b/src/jogl/classes/com/jogamp/graph/font/Font.java @@ -88,8 +88,8 @@ public interface Font { public Glyph getGlyph(char symbol); public int getNumGlyphs(); - public float getStringWidth(String string, float pixelSize); - public float getStringHeight(String string, float pixelSize); + public float getStringWidth(CharSequence string, float pixelSize); + public float getStringHeight(CharSequence string, float pixelSize); public AABBox getStringBounds(CharSequence string, float pixelSize); public boolean isPrintableChar( char c ); |