gdi32: fetch child fonts by real parent font name

Paul TBBle Hampson Paul.Hampson at Pobox.com
Tue Apr 14 09:11:14 CDT 2009


This patch fixes bug 18044.

Basically, the built-in FontLink functionality for subsituting
alternative fonts where a certain font is missing glyphs (used
by default for Tahoma and Microsoft Sans Serif under Windows) doesn't
work if the font is loaded via a FontSubstitution entry.

The only place this is really likely to happen turns out to be using
MS Shell Dlg as a font name, which is generally discouraged for general
UI use (as far as I can tell, you're supposed to use a lookup function
which normally returns Tahoma or Microsoft Sans Serif directly) but
this happens to be the case for uTorrent 1.8 onwards.
-- 
Paul "TBBle" Hampson, Paul.Hampson at Pobox.com

Shorter .sig for a more eco-friendly paperless office.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-gdi32-fetch-child-fonts-by-real-parent-font-name.patch
Type: text/x-diff
Size: 1761 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090415/7024c116/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090415/7024c116/attachment-0001.pgp>


More information about the wine-patches mailing list