gdi32: pOS2->xAvgCharWidth can be negative however tmAvgCharWidth needs a positive value

Aric Stewart aric at codeweavers.com
Tue Feb 21 09:10:59 CST 2012


On 2/21/12 10:03 AM, Dmitry Timoshkov wrote:
> Aric Stewart<aric at codeweavers.com>  wrote:
>
>>> So, what Mac does in that case? Why do you think that your fix is correct?
>>>
>>
>> The mac handles the fonts without issue. The issue appears to be that
>> the windows tmAveCharWidth should never be negative, and yet this logic
>> causes it to be so for these fonts. If we want to be able to support
>> these fonts, which work in every other regard, we need to have a fix
>> like this.
>
> You didn't answer the question.
>
Didn't I?

 >>> what Mac does in that case?

 >> The mac handles the fonts without issue

 >>>Why do you think that your fix is correct?

 >>..windows tmAveCharWidth should never be negative, and yet this logic
 >> causes it to be so for these fonts. If we want to be able to support
 >> these fonts, which work in every other regard, we need to have a fix
 >> like this.

What did I not answer?
-aric



More information about the wine-devel mailing list