commit | c8213c6198abff97822e29a6d565722cfbb43832 | [log] [tgz] |
---|---|---|
author | Khaled Hosny <khaledhosny.eglug.org> | Fri Nov 29 19:01:56 2013 -0500 |
committer | Behdad Esfahbod <behdad@behdad.org> | Fri Nov 29 19:01:56 2013 -0500 |
tree | 5e3893a9e3205ea301b9b7d2b556ab3ea6c3b9ca | |
parent | 63bae73aefb0e5988ef6975f1ed38e040e50e91d [diff] |
[coretext] Avoid font fallback with CoreText shaper CoreText does automatic font fallback (AKA "cascading") for characters not supported by the requested font, and provides no way to turn it off, so detect if the returned run uses a font other than the requested one and fill in the buffer with .notdef glyphs instead of random indices glyph from a different font.