m...@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.


Reply via email to