gdi32: Do not enumerate fonts with names that are too long

Aric Stewart aric at codeweavers.com
Mon Jan 19 08:25:51 CST 2015


On 1/16/15 9:52 PM, Dmitry Timoshkov wrote:
> Aric Stewart <aric at codeweavers.com> wrote:
> 
>> Both the FullName and the FamilyName need to fit in the LOGFONT
>> structure.
> 
> What happens with such a font under Windows? I'd expect the name be
> simply truncated instead of the font being skipped. In the latter
> case the font should not be added to the list at all.
> 

Thanks to Nikolay Sivov for doing tests for me.  Windows refuses to install the font. So I have move the code to prevent the face from being added to the font list at all.

-aric



More information about the wine-devel mailing list