summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/graph
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/jogamp/graph')
-rw-r--r--src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java b/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java
index 188d8d688..38c17e547 100644
--- a/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java
+++ b/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java
@@ -331,7 +331,7 @@ class TypecastFont implements Font {
left_glyph = null; // break kerning
continue;
} else if( glyph.isWhiteSpace() ) { // covers 'space' and all non-contour symbols
- advanceTotal += glyph.getAdvance();
+ advanceTotal += glyph.getAdvanceFU();
left_glyph = null; // break kerning
continue;
}