using System; namespace FastReport.Utils { /// /// A wrapper around PrivateFontCollection. /// [Obsolete("Use FastReport.FontManager instead")] public partial class FRPrivateFontCollection { public bool AddFontFile(string filename) => FontManager.AddFont(filename); public void AddMemoryFont(IntPtr memory, int length) => FontManager.AddFont(memory, length); } }