Trying to use a custom font.

Issue #1003 new
Former user created an issue

"Not a TrueType font" Error Message - Possible Solution

FontPicker - Solution

Cyotek.Windows.Forms.FontDialog - Solution

System.ArgumentException: Only TrueType fonts are supported. This is not a TrueType font. at System.Drawing.Font.FromLogFont(Object lf, IntPtr hdc) at System.Windows.Forms.FontDialog.UpdateFont(LOGFONT lf) at System.Windows.Forms.FontDialog.RunDialog(IntPtr hWndOwner) at System.Windows.Forms.CommonDialog.ShowDialog(IWin32Window owner) at (OptionsForm , Object , EventArgs ) at LaunchBox.Forms.OptionsForm.fontButton_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at LaunchBox.Controls.CustomButton.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Comments (0)

  1. Log in to comment