diff options
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r-- | vcl/unx/generic/glyphs/gcach_layout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/glyphs/gcach_layout.cxx b/vcl/unx/generic/glyphs/gcach_layout.cxx index f2afa9ae5db0..a80eb3140cac 100644 --- a/vcl/unx/generic/glyphs/gcach_layout.cxx +++ b/vcl/unx/generic/glyphs/gcach_layout.cxx @@ -534,7 +534,7 @@ bool HbLayoutEngine::Layout(ServerFontLayout& rLayout, ImplLayoutArgs& rArgs) // apply vertical flags and glyph substitution // XXX: Use HB_DIRECTION_TTB above and apply whatever flags magic // FixupGlyphIndex() is doing, minus the GSUB part. - sal_UCS4 aChar = rArgs.mrStr[nCharPos]; + sal_UCS4 aChar = rArgs.mrStr.iterateCodePoints(&nCharPos, 0); nGlyphIndex = rFont.FixupGlyphIndex(nGlyphIndex, aChar); bool bInCluster = false; |