• Florian Will's avatar
    gdiplus: Use FILE_SHARE_READ in GdipPrivateAddFontFile(). · ea4487fe
    Florian Will authored
    ZusiDisplay sometimes loads the same font file into two different
    PrivateFontCollections using two threads, so there is a race condition
    when the file is opened without the FILE_SHARE_READ sharing mode. The
    second call to GdipPrivateAddFontFile() might fail if the first one
    hasn't closed the file handle yet.
    
    (cherry picked from commit b3bf30e7)
    ea4487fe
Name
Last commit
Last update
..
Makefile.in Loading commit data...
brush.c Loading commit data...
customlinecap.c Loading commit data...
font.c Loading commit data...
graphics.c Loading commit data...
graphicspath.c Loading commit data...
image.c Loading commit data...
matrix.c Loading commit data...
metafile.c Loading commit data...
pathiterator.c Loading commit data...
pen.c Loading commit data...
region.c Loading commit data...
resource.rc Loading commit data...
stringformat.c Loading commit data...
wine_longname.sfd Loading commit data...
wine_longname.ttf Loading commit data...
wine_testfont0.sfd Loading commit data...
wine_testfont0.ttf Loading commit data...