Jump to content

Font Crash in PDN v3.35


Recommended Posts

When trying to switch to any font above "F", I crash.

I think maybe I have too many fonts for Paint .NET to handle? I did a quick font folder check and I have 338.

I've included the crash file below. Sorry, the Spoiler thing didn't hide it unless clicked, and I couldn't attach it... so... code seemed the best way to go.

This text file was created because Paint.NET crashed.
Please e-mail this file to crashlog@getpaint.net so we can diagnose and fix the problem.

Application version: Paint.NET v3.35 (Final Release build 3.35.3106.20184)
Time of crash: 7/23/2008 11:58:03 AM
Application uptime: 00:04:18.0312500
OS Version: 5.1.2600.131072 Service Pack 2 Workstation x86
.NET Framework version: 2.0.50727.832 x86
Processor: 1x "AMD Athlon(tm) XP 2800+" @ ~2088MHz (SSE)
Physical memory: 1535 MB
UI DPI: 96.00 dpi (1.00x scale)
Tablet PC: no
Updates: true, 7/23/2008
Locale: pdnr.c: en-US, hklm: en-US, hkcu: n/a, cc: en-US, cuic: en-US
Features log: UpdatesState(StartupState), SetTool(PaintDotNet.Tools.PaintBrushTool), HM(NullHistoryMemento), ShowDialog(PaintDotNet.ToolsForm), ShowDialog(PaintDotNet.ColorsForm), ShowDialog(PaintDotNet.HistoryForm), ShowDialog(PaintDotNet.LayerForm), ShowDialog(PaintDotNet.MainForm), UpdatesState(ReadyToCheckState), PopulateFonts(), Menu.File, New, AWAction(NewImageAction), ShowDialog(PaintDotNet.NewFileDialog), CommonActionsStrip(Open), AWAction(OpenFileAction), Load(PaintDotNet.PngFileType), Copy, CopyToClipboardAction, SetTool(PaintDotNet.Tools.PencilTool), SetTool(PaintDotNet.Tools.ColorPickerTool), Menu.Window, SetTool(PaintDotNet.Tools.PaintBucketTool), HM(BitmapHistoryMemento), SetTool(PaintDotNet.Tools.TextTool), HF(AddNewBlankLayerFunction), HM(NewLayerHistoryMemento), HM(CompoundHistoryMemento), Undo, DWAction(HistoryUndoAction)
Loaded assemblies: 
   mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
   PaintDotNet, Version=3.35.3106.20184, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.exe
   System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll
   System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll
   System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll
   PaintDotNet.Core, Version=3.35.3106.20179, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Core.dll
   PaintDotNet.Base, Version=3.35.3106.20178, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Base.dll
   PaintDotNet.SystemLayer, Version=3.35.3106.20178, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.dll
   PaintDotNet.Resources, Version=3.35.3106.20179, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Resources.dll
   PaintDotNet.Data, Version=3.35.3106.20180, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Data.dll
   PaintDotNet.Effects, Version=3.35.3106.20181, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Effects.dll
   Interop.WIA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Interop.WIA.dll
   DdsFileType, Version=1.11.3106.20184, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\FileTypes\DdsFileType.dll

Exception details:
System.OutOfMemoryException: Out of memory.
  at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
  at System.Drawing.Graphics.DrawString(String s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format)
  at PaintDotNet.ToolConfigStrip.FontFamilyComboBox_DrawItem(Object sender, DrawItemEventArgs e)
  at System.Windows.Forms.ComboBox.OnDrawItem(DrawItemEventArgs e)
  at System.Windows.Forms.ComboBox.WmReflectDrawItem(Message& m)
  at System.Windows.Forms.ComboBox.WndProc(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
------------------------------------------------------------------------------

Link to comment
Share on other sites

I think maybe I have too many fonts for Paint .NET to handle? I did a quick font folder check and I have 338.
As a quick 'for your information', you have no need to worry on that front, we have users with a font count exceeding 7,000 and are still healthily running Paint.NET - that doesn't mean they won't have a small performance drag, though.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...