[PATCH] dwrite: Let freetype face cache manage lifetime of requested file fragments
Sebastian Lackner
sebastian at fds-team.de
Wed Jan 18 14:14:41 CST 2017
On 18.01.2017 21:02, Nikolay Sivov wrote:
> Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
> ---
>
> For https://bugs.winehq.org/show_bug.cgi?id=42243
>
> This affects custom font loaders, for local font loader it's
> basically a no-op with current implementation of it,
> because ReleaseFileFragment() does not do anything.
>
> Solution is explicitly suggested in cache API documentation.
>
> dlls/dwrite/freetype.c | 30 +++++++++++++++++++++++++++++-
> 1 file changed, 29 insertions(+), 1 deletion(-)
Thanks, this fixes the crash.
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
More information about the wine-patches
mailing list