summaryrefslogtreecommitdiff
path: root/git.mk
diff options
context:
space:
mode:
authorKristian Rietveld <kris@lanedo.com>2011-11-26 17:27:43 +0100
committerKristian Rietveld <kris@lanedo.com>2012-01-19 17:20:23 +0100
commitdbf40154eb5804f4e8c582f12b30b8291c9c3532 (patch)
treedc072c5f950edc9801f177cdd9ec7745ce2683fa /git.mk
parent92c58b4372833db6974da73b75d457177f402bb6 (diff)
downloadpango-dbf40154eb5804f4e8c582f12b30b8291c9c3532.tar.gz
Bug 664125 - Zero-width spaces cause missing characters
This is fixed by using the characters obtained from CoreText's mapping from glyphs back to the original string instead of blindly iterating over the original gchar string. Take notice that we have to convert these indices from the mapping back to a byte index in the original UTF8 string. Zero-width spaces are already removed from the list of CGGlyphs, so we were mismatching CGGlyphs and characters from the original string. Using CoreText's list of string indices instead eliminates the mismatches.
Diffstat (limited to 'git.mk')
0 files changed, 0 insertions, 0 deletions