"Aric Stewart" aric@codeweavers.com wrote:
You are mostly correct. It looks like windows totally ignores the font substitute if it finds the correct font. So this patch is incorrect.
Is there a good mechanic to get wine to force a substitution for a broken font? If the user has FontX however their FontX does not render correctly with freetype so we want to replace it with FontY...
Does font render correctly in other programs beside Wine? If no, there is no point IMO to add any workarounds, just ask the user to move the font out of the way. Is there a way to detect if the font is broken? What if either freetype or the font get fixed later?