Don't change fonts just for space characters
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 6 Jun 2013 23:57:55 +0000 (19:57 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 6 Jun 2013 23:59:54 +0000 (19:59 -0400)
commitd489ad061d70526fc5f5cdae2273e9deabea6a17
treebb7ea1966d139fa56d701a522098500fe7c9e4b5
parente17b595e3bacfb7333bab6fcd1c62d05e7228936
Don't change fonts just for space characters

Back in the days we used to always use the font from surrounding runs
for any space characters.  I changed that when I found that rendering
MathML results in hexboxes when a font doesn't have the space characters
needed...

Forward to these days: HarfBuzz will silently compatibility-decompose
any space character to the ASCII space.  And looks like it's important
for Mongolian to not break runs around NNBSP.  As such, go back to never
choosing a font just for space characters.

Seems to work, though more testing is needed.

Bug 701652 - wrong shaped classic Mongolian word suffixes
pango/pango-context.c