[PATCH] gdi32: Preserve the GGO_UNHINTED bits until used.
Huw Davies
huw at codeweavers.com
Wed Jan 20 05:02:31 CST 2021
On Mon, Jan 11, 2021 at 01:18:42PM +0900, Byeongsik Jeon wrote:
> 1. Fixes a regression caused by 044315c0b3890676d9fd751d8191b0b7381e0b97.
> GGO_UNHINTED bit is used by freetype.c::get_load_flags().
>
> 2. The pre-044315c0b38 code get/set the metrics cache, regardless of
> whether GGO_UNHINTED bit is turned on. The problem must be corrected
> because the metrics vary depending on the GGO_UNHINTED on/off.
> Since the structural change of 044315c0b38, this possibility is
> excluded naturally by this patch.
Ideally we'd cache unhinted glyph metrics too.
Signed-off-by: Huw Davies <huw at codeweavers.com>
More information about the wine-devel
mailing list