23 Apr
2012
23 Apr
'12
3:07 p.m.
Huw Davies <huw(a)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.