(try 2) gdi32: if a font substitution is given then only match tothat substitution not to the original family name.

Dmitry Timoshkov dmitry at codeweavers.com
Fri Oct 10 22:33:21 CDT 2008


"Aric Stewart" <aric at 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?

-- 
Dmitry.



More information about the wine-devel mailing list