• Florian Will's avatar
    gdiplus: Use FILE_SHARE_READ in GdipPrivateAddFontFile(). · b3bf30e7
    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.
    b3bf30e7
font.c 49.9 KB