4 May
2013
4 May
'13
4:38 a.m.
max(a)mtew.isa-geek.net wrote:
+ if ( font->aveWidth && font->potm->otmTextMetrics.tmHeight ) { + if (((font->aveWidth + font->potm->otmTextMetrics.tmHeight - 1) / + font->potm->otmTextMetrics.tmHeight) > 100) { WARN("Ignoring too large font->aveWidth %d\n", font->aveWidth); font->aveWidth = 0; }
In which case font->potm->otmTextMetrics.tmHeight is going to be 0? -- Dmitry.