summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/xetexdir/XeTeX_ext.c')
-rw-r--r--Build/source/texk/web2c/xetexdir/XeTeX_ext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
index 44abaa0afd3..a6b55929882 100644
--- a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
+++ b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
@@ -2243,7 +2243,7 @@ measure_native_node(void* pNode, int use_glyph_metrics)
realGlyphCount = 0;
for (i = 0; i < nGlyphs; ++i) {
if (glyphs[i] < 0xfffe) {
- float rhs = positions[2*i] + getGlyphWidth(getFont(engine), glyphs[i]);
+ float rhs = positions[2*i] + getGlyphWidthFromEngine(engine, glyphs[i]);
if (rhs > maxRhs)
maxRhs = rhs;
glyphIDs[realGlyphCount] = glyphs[i];