[PATCH] dwrite/layout: Use default font family if the font family of the layout format is empty.

Haoyang Chen chenhaoyang at uniontech.com
Thu Jan 21 05:45:24 CST 2021


Hi,

I did change this in  MapCharacters() before. But since 
layout_resolve_fonts() may also

fail due to empty fonts family, I changed it here.


P.S:(My email keeps losing some of the emails that reply to me. XO)



在 2021/1/21 下午5:56, wine-devel-request at winehq.org 写道:
>
> Date: Thu, 21 Jan 2021 12:42:06 +0300
> From: Nikolay Sivov <nsivov at codeweavers.com>
> To: wine-devel at winehq.org
> Subject: Re: [PATCH] dwrite/layout: Use default font family if the
> 	font family of the layout format is empty.
> Message-ID: <5ad55c88-558c-9d61-3409-d250b27880ee at codeweavers.com>
> Content-Type: text/plain; charset=gbk
>
> Hi,
>
> this is not the way to fix it. You're using first arbitrary font, but
> that's MapCharacters() that has to be improved.
>
>
>
> ------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210121/a49419be/attachment.htm>


More information about the wine-devel mailing list