[HarfBuzz] [PATCH] Avoid font fallback with CoreText shaper
Khaled Hosny
khaledhosny at eglug.org
Mon Nov 25 06:21:08 PST 2013
On Mon, Nov 25, 2013 at 02:58:03PM +0100, Jiang Jiang wrote:
> On Mon, Nov 25, 2013 at 2:37 PM, Khaled Hosny <khaledhosny at eglug.org> 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
More information about the HarfBuzz
mailing list