Commit 4b6d284d authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

gdi32: Ignore fonts with names that begin with a '.'.

parent fad9b692
......@@ -1227,6 +1227,13 @@ static INT AddFontToList(const char *file, void *font_data_ptr, DWORD font_data_
return 0;
}
if(ft_face->family_name[0] == '.') /* Ignore fonts with names beginning with a dot */
{
TRACE("Ignoring %s since its family name begins with a dot\n", debugstr_a(file));
pFT_Done_Face(ft_face);
return 0;
}
if (target_family)
{
localised_family = get_familyname(ft_face);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment