summaryrefslogtreecommitdiff
path: root/vcl/coretext
diff options
context:
space:
mode:
authorJonathan Schultz <jonathan@imatix.com>2013-05-22 14:08:12 +0200
committerLászló Németh <nemeth@numbertext.org>2013-05-22 14:10:34 +0200
commit0b70e4ea4fcf0adccdfdf4886e5cc45d46479692 (patch)
tree45046466f899c707a2d83a2a59e98ba849c03aa9 /vcl/coretext
parent2dec489ebb75030ffaeaa6daf7d42472e23a5eb6 (diff)
fdo#62846 incorrect glyph to Unicode mappings in PDFs
Change-Id: Idebc7f69f95d8f72626373475d8611ea68f1483a
Diffstat (limited to 'vcl/coretext')
-rw-r--r--vcl/coretext/salcoretextlayout.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/coretext/salcoretextlayout.cxx b/vcl/coretext/salcoretextlayout.cxx
index d2c2d48cf519..12c2035191a4 100644
--- a/vcl/coretext/salcoretextlayout.cxx
+++ b/vcl/coretext/salcoretextlayout.cxx
@@ -447,6 +447,10 @@ int CoreTextLayout::GetNextGlyphs( int nLen, sal_GlyphId* pGlyphIDs, Point& rPos
nStart += 1;
}
+ if( pCharIndexes ) {
+ pCharIndexes[i] = mpGlyphs2Chars[mnCurrentGlyphIndex];
+ }
+
SAL_INFO( "vcl.coretext.layout", "GetNextGlyphs() returning " << i );
return i;