[PATCH] gdi32: Retry with hinting disabled if glyph load failed in hinted mode.
Dmitry Timoshkov
dmitry at baikal.ru
Tue Feb 4 10:45:07 CST 2020
Nikolay Sivov <nsivov at codeweavers.com> wrote:
> err = pFT_Load_Glyph(ft_face, glyph_index, load_flags);
> + if (err && !(load_flags & FT_LOAD_NO_HINTING))
> + {
> + WARN("Failed to load glyph %#x, retrying without hinting. Error %#x.\n", glyph_index, err);
It would be better to use same format string as in the WARN() below this one.
> + load_flags |= FT_LOAD_NO_HINTING;
> + err = pFT_Load_Glyph(ft_face, glyph_index, load_flags);
> + }
>
> if(err) {
> WARN("FT_Load_Glyph on index %x returns %d\n", glyph_index, err);
--
Dmitry.
More information about the wine-devel
mailing list