internal NativeFontFace(IntPtr unmanagedMem, IntPtr ftFaceHandle, string name, string fontPath, FontStyle fontStyle)
{
this.name = name;
this.fontPath = fontPath;
this.fontStyle = fontStyle;
this.unmanagedMem = unmanagedMem;
this.ftFaceHandle = ftFaceHandle;
//get face information
unsafe
{
fixed (ExportFace* face_h = &this.exportFace)
{
NativeMyFontsLib.MyFtGetFaceData(unmanagedMem, face_h);
}
}
}
public override float GetScale(float pointSize)