From 0cea1ffbf415d40b9cff582b15fb5b736ae42580 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 27 Mar 2023 13:59:47 +0200 Subject: Graph: Fix Font.getGlyphBoundsFU(): FU of advance is requested here. Regression from commit a5d593478afa2298282a0624b2490fde84c3a292 --- src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jogl/classes/jogamp') 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; } -- cgit v1.2.3