[2/2] gdi32: Enumerated font size should not be too large.

Dmitry Timoshkov dmitry at baikal.ru
Mon Apr 23 10:25:41 CDT 2012


Huw Davies <huw at codeweavers.com> wrote:

> Perhaps the original commit was added to work around this issue?

No, it was added for a not related reason.

> Note, you'll probably have to retrieve the metrics at the design size (2048)
> in order to get accurate values for these members.  Simply up-scaling the values
> obtained at 100 ppem will lead to rounding errors.  As you say, tests are needed.

Yeah, the tests are needed. For now I just wanted to make gdiplus not rely on
broken behaviour.

-- 
Dmitry.



More information about the wine-devel mailing list