summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-03-27 13:59:47 +0200
committerSven Gothel <[email protected]>2023-03-27 13:59:47 +0200
commit0cea1ffbf415d40b9cff582b15fb5b736ae42580 (patch)
treecf2e2cfd26deab4cf75e381eab29a27f1b9532bf /src/jogl/classes/jogamp
parente0b096195bd5dd2670b026c972c44ea0b684b757 (diff)
Graph: Fix Font.getGlyphBoundsFU(): FU of advance is requested here.
Regression from commit a5d593478afa2298282a0624b2490fde84c3a292
Diffstat (limited to 'src/jogl/classes/jogamp')
-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;
}