On Wed Mar 1 08:06:29 2023 +0000, Huw Davies wrote:
> @rbernon, note that you should explicitly approve this as it contains
> commits from another author.
I see, yeah, I tried to add the correct strings to the types, but couldn't find anything on array. The others were pretty straightforward.
Also, the build error was misleading and I think it'd be helpful to add the equivalent of `TRACE` in widl. The existing debug parameters were not helpful.
Thanks for the link, good info.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2304#note_25975
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.
--
v2: gdiplus: Use FILE_SHARE_READ in GdipPrivateAddFontFile().
gdiplus/tests: Test for GdipPrivateAddFontFile() sharing violation.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2302