[PATCH 1/2] oleaut32: Handle OLEFontImpl_SetRatio case where cyLogical and cyHimetric are both 1 (try 2).

Erich E. Hoover erich.e.hoover at gmail.com
Fri Jan 17 17:11:44 CST 2014


When cyLogical and cyHimetric are both 1 the scaling should not be
changed (Bug #12320), but the function also does not return an error
(see tests).  This is a very odd edge case, I've been holding on to
this patch for a while and I have yet to see anything documenting this
behavior.

Try 2: Added several more test cases (0:1, 1:0, 1:2, 2:1, 2:2).  I
swear, 1:1 really is a weird special case.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-oleaut32-Handle-OLEFontImpl_SetRatio-case-where-cyLo.patch
Type: text/x-diff
Size: 3277 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140117/ca037994/attachment.patch>


More information about the wine-patches mailing list