20 Jan
2021
20 Jan
'21
11:02 a.m.
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(a)codeweavers.com>