Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

GdipPrivateAddFontFile broken on some platforms #716

Open
directhex opened this issue Sep 21, 2021 · 0 comments
Open

GdipPrivateAddFontFile broken on some platforms #716

directhex opened this issue Sep 21, 2021 · 0 comments

Comments

@directhex
Copy link
Contributor

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 dotnet/runtime#26460 - and, indeed, the user's test code passes fine on my Ubuntu deskop but fails on my Macbook.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant