Jump to content

Crash on Font Selection


Recommended Posts

As soon as I click on the font selection menu, Paint.NET crashes and closes:

Application version: Paint.NET v2.70 (Final Release build 2.70.2402.33590)

Time of crash: 15/08/2006 10:52:20

Application uptime: 00:06:50.3750000

OS Version: 5.1.2600.131072 Service Pack 2 Workstation x86

.NET Framework version: 2.0.50727.42 x86

Processor: 2x Intel® Pentium® 4 CPU 3.00GHz

Physical memory: 1022 MB

Exception details:

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

at System.Drawing.SafeNativeMethods.Gdip.GdipIsStyleAvailable(HandleRef family, FontStyle style, Int32& isStyleAvailable)

at System.Drawing.FontFamily.IsStyleAvailable(FontStyle style)

at PaintDotNet.FontInfo.CanCreateFont()

at PaintDotNet.TextConfigStrip.PopulateFonts()

at PaintDotNet.TextConfigStrip.fontComboBox_GotFocus(Object sender, EventArgs e)

at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

at System.Windows.Forms.ToolStripControlHost.OnGotFocus(EventArgs e)

at System.Windows.Forms.ToolStripControlHost.HandleGotFocus(Object sender, EventArgs e)

at System.Windows.Forms.Control.OnGotFocus(EventArgs e)

at System.Windows.Forms.ComboBox.OnGotFocus(EventArgs e)

at System.Windows.Forms.Control.WmSetFocus(Message& m)

at System.Windows.Forms.Control.WndProc(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)

------------------------------------------------------------------------------

Any ideas?

Link to comment
Share on other sites

  • 4 weeks later...

In order to use Paint.NET, you will need to delete any trouble fonts.

Because of the error that is being thrown, it would not be safe to simply ignore it and continue on.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

  • 8 months later...

I think I have almost all my fonts from dafont, and I also have this problem with the scroll freezing. Gonna delete all new fonts, and replace them one by one with a tryout on each after reinstalling. Thanx on the info peeps.

Jude, who likes a smooth running fonts window

Juds_Fire_sig.png

100% PDN

Link to comment
Share on other sites

  • 3 weeks later...

Application version: Paint.NET v3.08 (Final Release build 3.08.2708.22795)

Time of crash: 6/10/2007 5:22:10 AM

Application uptime: 00:01:29.2320000

OS Version: 6.0.6000.0 Workstation x86

.NET Framework version: 2.0.50727.312 x86

Processor: 1x "Intel® Celeron® M CPU 440 @ 1.86GHz" @ ~1861MHz

Physical memory: 501 MB

Tablet PC: no

Locale: pdnr.c: en-US, hklm: en-US, hkcu: n/a, cc: en-US, cuic: en-US

Exception details:

PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.

at System.Drawing.Graphics.CheckErrorStatus(Int32 status)

at System.Drawing.Graphics.DrawString(String s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format)

at System.Drawing.Graphics.DrawString(String s, Font font, Brush brush, PointF point, StringFormat format)

at PaintDotNet.SystemLayer.Fonts.DrawText(Graphics g, Font font, String text, Point pt, Boolean antiAliasing, FontSmoothing fontSmoothing)

at PaintDotNet.Tools.TextTool.DrawText(Surface dst, Font textFont, String text, Point pt, Size measuredSize, Boolean antiAliasing, Surface brush8x8)

at PaintDotNet.Tools.TextTool.DrawText(Surface dst, Font textFont, String text, Point pt, Size measuredSize, Boolean antiAliasing, Brush brush)

at PaintDotNet.Tools.TextTool.RenderText(Object lineNumberObj)

at PaintDotNet.Threading.ThreadPool.ThreadWrapperContext.ThreadWrapper()

--- End of inner exception stack trace ---

at PaintDotNet.Threading.ThreadPool.DrainExceptions()

at PaintDotNet.Threading.ThreadPool.Drain()

at PaintDotNet.Tools.TextTool.RedrawText(Boolean cursorOn)

at PaintDotNet.Tools.TextTool.OnKeyPress(KeyPressEventArgs e)

at PaintDotNet.AppWorkspace.DocumentKeyPress(Object sender, KeyPressEventArgs e)

at PaintDotNet.DocumentView.OnDocumentKeyPress(KeyPressEventArgs e)

at PaintDotNet.DocumentView.Panel_KeyPress(Object sender, KeyPressEventArgs e)

at System.Windows.Forms.Control.OnKeyPress(KeyPressEventArgs e)

at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)

at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)

at System.Windows.Forms.Control.WmKeyChar(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

at PaintDotNet.SystemLayer.ScrollPanel.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)

------------------------------------------------------------------------------

eww, i crashed too. i chose a font (that i downloaded from dafont) and when i tried typing with it, crash.... help?

Link to comment
Share on other sites

jorge! what kind of font was it as Paint.NET only supports TureType Fonts.

Also how did you install it ?

Did you just drag and drop the font or did you use windows font installer like you should do. (I have see the drag and dorp make errors with good fonts were as the windows font installer I have not seen it make errors unless the font is corrupt)

Did you keep a list of fonts you have download and tested like was siad so you can pin point bad fonts.

Here is a tutorial that may help you install fonts for Paint.NET: Click Here

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...