<PackageReference Include="System.Drawing.Common" Version="10.0.0-rc.1.25451.107" />

System.Drawing.Text.PrivateFontCollection

public sealed class PrivateFontCollection : FontCollection
Provides a collection of font families built from font files that are provided by the client application.
namespace System.Drawing.Text { public sealed class PrivateFontCollection : FontCollection { public PrivateFontCollection(); public void AddFontFile(string filename); public void AddMemoryFont(IntPtr memory, int length); } }