On Mon, Nov 25, 2013 at 02:58:03PM +0100, Jiang Jiang wrote: > On Mon, Nov 25, 2013 at 2:37 PM, Khaled Hosny <[email protected]> wrote: > > CoreText does automatic font fallback (AKA "cascading") for characters > > not supported by the requested font, and provides no way to turn it off, > > Just wondering, would setting kCTFontCascadeListAttribute to contain only > one font descriptor work?
You mean setting to the main font? This does not work, I think because the global cascade list will be then use (which we can not control). If you mean using the LastResort font hack (like WebKit), I think it is a bit fragile approach. Regards, Khaled _______________________________________________ HarfBuzz mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/harfbuzz
