gdi32: Implement automatic font substitution

Liu Qishuai lqs.buaa at gmail.com
Tue Jul 1 09:59:21 CDT 2008


Hi,

This patch appends all fonts on child_list so that if a character is
not available in the font, other fonts will be automatically used.
This is how Windows does to get a CJK character when a latin font is specified.

A lot of CJK-related bugs will be fixed after applying this patch.

 dlls/gdi32/font.c     |    9 +-----
 dlls/gdi32/freetype.c |   69 +++++++++++++++++--------------------------------
 2 files changed, 25 insertions(+), 53 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-gdi32-Implement-automatic-font-substitution.patch
Type: text/x-diff
Size: 7160 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080701/b5aa1fae/attachment.patch 


More information about the wine-patches mailing list