libgdiplus icon indicating copy to clipboard operation
libgdiplus copied to clipboard

GdipPrivateAddFontFile broken on some platforms

Open directhex opened this issue 3 years ago • 0 comments

Under circumstances I haven't been able to pin down, creating a font collection and adding a font from disk to it does not result in a workable font.

In CI, this results in tests/testfont.c failing on GdipCreateFontFamilyFromName (CodeNewRoman, collection, &family); with FontFamilyNotFound on my Macbook but passing fine on my Ubuntu desktop.

This behaviour looks a LOT like the behaviour reported in https://github.com/dotnet/runtime/issues/26460 - and, indeed, the user's test code passes fine on my Ubuntu deskop but fails on my Macbook.

directhex avatar Sep 21 '21 20:09 directhex