[PATCH] dwrite/tests: Do not assume that fonts have a en-us name.

Giovanni Mascellani gmascellani at codeweavers.com
Thu Mar 4 03:17:10 CST 2021


Hi,

Il 04/03/21 08:45, Nikolay Sivov ha scritto:
> Do you know which font was that? I'd like to test that on Windows first,
> it's possible locale-neutral or "en" entry is still created even when
> not specified explicitly.

Font is "femkeklaver", attached (I got it from a Debian package). Note 
that the font family has the en-us string, but one of the faces does not:

> 88997.023000:0020:0024:trace:gio:!0x407813:dlls/dwrite/tests/analyzer.c:1772:test_GetGlyphs 
> Family name: L"femkeklaver"
> 88997.023000:0020:0024:warn:gio:!0x403e8f:dlls/dwrite/tests/analyzer.c:1512:get_enus_string 
> LocalizedStrings without en-us string: L"Normal"
> 88997.023000:0020:0024:trace:gio:!0x407813:dlls/dwrite/tests/analyzer.c:1789:test_GetGlyphs 
> Face name: L"Normal"
> 88997.024000:0020:0024:trace:gio:!0x407813:dlls/dwrite/tests/analyzer.c:1789:test_GetGlyphs 
> Face name: L"Bold"
> 88997.024000:0020:0024:trace:gio:!0x407813:dlls/dwrite/tests/analyzer.c:1789:test_GetGlyphs 
> Face name: L"Oblique"
> 88997.024000:0020:0024:trace:gio:!0x407813:dlls/dwrite/tests/analyzer.c:1789:test_GetGlyphs 
> Face name: L"Bold Oblique"

But you're right: Windows 8 doesn't have this problem, the en-us string 
is available there. So the problem is probably elsewhere.

Giovanni.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: femkeklaver.ttf
Type: font/ttf
Size: 102516 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210304/6a10a124/attachment-0001.ttf>


More information about the wine-devel mailing list