GDI32: Fix logical error of italic,bold determination

Byeong-Sik Jeon wjsqudtlr at gmail.com
Sun Mar 12 13:10:04 CST 2006


ChangeLog:
Fix the logical error of the italic, bold determination.



Hello.

This patch is remaking of my old patch [3/5]. This patch don't depends
on other patches.
I reduce the patch code size.

This problem is clearly logical error.

Example:
"Tahoma" font have two faces. "Tahoama.ttf" and "Tahoma Bold.ttf".

When the program call "Tahoma Italic", the result can be following two
case:

i.  filename="Tahoma.ttf", fake_italic=TRUE, fake_bold=FALSE
ii. filename="Tahoma Bold.ttf", fake_italic=TRUE, fake_bold=FALSE

Please see the following image.
http://debianusers.org/wiki/pds/freetype.c_italic_bold_logical_error.png

This patch fix the this problem.

Please also see the following patched image.
http://debianusers.org/wiki/pds/freetype.c_italic_bold_logical_error_patched.png



-----
[3/5]
http://www.winehq.org/pipermail/wine-patches/2006-March/024840.html


PS.
I cancel my other patches [1/5RE] [2/5] [4/5] [5/5RE]. I will remake
these patches, perhaps...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freetype.c_italic_bold_logical_error.diff
Type: text/x-patch
Size: 2832 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060313/56a2e70a/freetype.c_italic_bold_logical_error.diff


More information about the wine-patches mailing list