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@winehq.org 写道:

Date: Thu, 21 Jan 2021 12:42:06 +0300
From: Nikolay Sivov <nsivov@codeweavers.com>
To: wine-devel@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@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.



------------------------------