From: Lucian Poston Subject: Re: [PATCH 4/6] dwrite: Use font fallback when mapping characters Message-Id: Date: Sat, 26 May 2018 09:48:58 -0400 In-Reply-To: References: <7Ei9atfeSNShD6shkYMPbIaQheIiNd1UbKE56q6pwd0YHIayIlPdhhChvF7i96mwo1NxfDL5-D43P0NmTl0fgemFJC0tzA9dCPN2LzyJu18=@pm.me> On Sat, May 26, 2018 at 06:13:30AM -0700, Nikolay Sivov wrote: > This block will pick arbitrary font, depending on fonts user has > installed, and can change if user installs more or removes some. > That doesn't sound like a good idea to me, and your comment already > hints at that. Yep. But at least the system fonts are considered at all. That leads to a question that will arise when the system font fallback is implemented: In what order should the system font fallback mappings be defined? If you simply iterate over them as done here, the result can also change (perhaps unexpectedly) if the user (un)installs fonts. I supposed you'd have probe windows behavior by running tests while installing and uninstalling system fonts.