When I tried to change a font for c# script component, It didn’t display any fonts in setup dialog and it reported following crash report on the windows desktop.
[ERROR] FATAL UNHANDLED EXCEPTION: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Grasshopper.GUI.GH_FontList.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
[END ERROR]
After I deleted most 3rd party font files from 500 to 300, but it happened still again. My os is windows 10. I attached a zipped files including whole font files from the windows/font folder. I did it as as a link. I hope this would be helpful to solve this issue. Thanks.
Hi David, I’m a bit of a novice here. Is there a (simple) fix to the font change crash issue. I don’t seem to see an unnamed font in my directory. I wasn’t sure if this issue got resolved. Thanks.