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

Dmitry Timoshkov dmitry at baikal.ru
Mon Apr 23 10:07:20 CDT 2012


Huw Davies <huw at codeweavers.com> wrote:

> >       if(face->scalable) {
> > -        height = -2048; /* 2048 is the most common em size */
> > +        height = 100;
> >           width = 0;
> >       } else {
> >           height = face->size.y_ppem>>  6;
> 
> You'll need to fix the ntmTm.ntmCellHeight and ntmTm.ntmAvgWidth values.

As far as I can see that code always have been that way, and reverted patch
didn't touch it either. But I see your point, and will add the tests (and
a fix if the tests prove it's correct) in a later patch.

-- 
Dmitry.



More information about the wine-devel mailing list