diff options
author | Sven Gothel <[email protected]> | 2023-03-27 13:59:47 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-03-27 13:59:47 +0200 |
commit | 0cea1ffbf415d40b9cff582b15fb5b736ae42580 (patch) | |
tree | cf2e2cfd26deab4cf75e381eab29a27f1b9532bf /src | |
parent | e0b096195bd5dd2670b026c972c44ea0b684b757 (diff) |
Graph: Fix Font.getGlyphBoundsFU(): FU of advance is requested here.
Regression from commit a5d593478afa2298282a0624b2490fde84c3a292
Diffstat (limited to 'src')
-rw-r--r-- | src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java | 2 |
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; } |