[PATCH v2 2/2] gdiplus: In GdipPrivateAddMemoryFont allow loading fonts with long names

Dmitry Timoshkov dmitry at baikal.ru
Sat Nov 18 11:59:13 CST 2017


Fabian Maurer <dark.shadow4 at web.de> wrote:

> > === w1064 (32 bit font) ===
> > font.c:111: Test failed: failed to delete file
> > L"C:\\Users\\winetest\\AppData\\Local\\Temp\\wine_longname.ttf", error 5
> > 
> > === w1064 (64 bit font) ===
> > font.c:111: Test failed: failed to delete file
> > L"C:\\Users\\winetest\\AppData\\Local\\Temp\\wine_longname.ttf", error 5
> 
> Should I put in a sleep or something to fix that?

A font can't be deleted if it's still being used. Make sure that all font
instances are deleted and the font is unloaded.

-- 
Dmitry.



More information about the wine-devel mailing list