private static extern void Internal_CreateFont([Writable] Font _font, string name); [RequiredByNativeCode]
public Font(string name) { bool flag = Path.GetDirectoryName(name) == string.Empty; bool flag2 = flag; if (flag2) { Font.Internal_CreateFont(this, name); } else { Font.Internal_CreateFontFromPath(this, name); } }