Jump to content


Photo

Paint.NET not recognizing fonts / crashing Text tool


  • Please log in to reply
23 replies to this topic

#1 AKN

AKN
  • Members
  • 11 posts
  • LocationVictoria, BC, Canada
  • Reputation:0

Posted 10 March 2011 - 06:02 AM

Hello Everyone: I am having a problem with Paint.NET not recognizing Windows/system fonts. I have seen some other entries in this forum commenting on the same problem, but I haven't seen a solution that I can apply. There are many fonts installed on the system, and accessible by other programs (e.g. Windows Office programs, Windows Paint), but they don't show up in Paint.NET - they are listed, but not active (i.e. they do not show the sample script and will generate an "Unhandled error" if I try to use them). Only 10 or so fonts are usable (e.g. Courier, FixedSys, MS Sans Serif). I am using Windows 7 and I don't recall having the same problem with Windows/XP. I have run the Paint.NET repair program, reinstalled Paint.NET (3.5.8) and restarted my computer several times, but the problem persists.

Does anyone have any suggestions?

Thanks. . .

Tony N.
  • 0

#2 pyrochild

pyrochild
  • Administrators
  • 11,446 posts
  • LocationColorado
  • Reputation:187

Posted 10 March 2011 - 07:05 AM

Moved to Troubleshooting


Is there a file called pdncrash.log on your desktop? If so, please post it here.
  • 0
xZYt6wl.png
ambigram signature by Kemaru

[I write plugins and stuff]

If you like a post, upvote it!

#3 AKN

AKN
  • Members
  • 11 posts
  • LocationVictoria, BC, Canada
  • Reputation:0

Posted 10 March 2011 - 02:28 PM

Hi pyrochild: Thank you for replying to my post and moving it to the right section. Yes, there is a crash log - I am showing it here:

Hidden Content:

(I tried to attach the log file to this post, but I received this message: Error You aren't permitted to upload this kind of file.)

Regards. . .

Tony N.
  • 0

#4 pyrochild

pyrochild
  • Administrators
  • 11,446 posts
  • LocationColorado
  • Reputation:187

Posted 11 March 2011 - 02:00 AM

Can't say I've seen that one before... Weird!

I'll make sure Rick sees this.
  • 0
xZYt6wl.png
ambigram signature by Kemaru

[I write plugins and stuff]

If you like a post, upvote it!

#5 AKN

AKN
  • Members
  • 11 posts
  • LocationVictoria, BC, Canada
  • Reputation:0

Posted 11 March 2011 - 03:11 AM

OK, thanks - I'll stay tuned. . .
  • 0

#6 Rick Brewster

Rick Brewster

    Paint.NET Author and Developer

  • Administrators
  • 13,123 posts
  • LocationKirkland, WA
  • Reputation:232

Posted 11 March 2011 - 03:48 AM

Try this (copying and editing from here, btw: http://answers.micro...ca-f551003ff713 )

Open any folder (in Windows Explorer).In the top-header of the Windows Explorer window, click on:

Organize > Folder and Search Options > View

Put a tick in:

Show hidden files and folders
---------------

Remove the check mark from:

Hide protected operating system files (Recommended)
---------------

Now navigate to, and RENAME this file to fntcache.dat.bak: C:\Windows\System32\FNTCACHE.DAT (please do NOT delete this file! see why below)

Reboot the PC, and check whether crashing still happens.

If this fixes things, then I will want a copy of FNTCACHE.DAT.BAK so I can forward it to the guy I know who works on DirectWrite. They'll be interested to perform an autopsy on it, so to speak.
  • 0
The Paint.NET Blog: http://blog.getpaint.net/
Donations are always appreciated! http://www.getpaint.net/donate.html

Posted Image

#7 AKN

AKN
  • Members
  • 11 posts
  • LocationVictoria, BC, Canada
  • Reputation:0

Posted 11 March 2011 - 05:13 AM

Hi Rick: Thanks for getting back to me on this. I tried your suggestion of renaming the FNTCACHE.DAT file and rebooting, but I get the same error.

Even though it didn't change anything, I was going to include the FNTCACHE.DAT file in case it would be of any help, but I was unable to attach it to the post (I was also not able to attach the crash log) - I am getting an error message regarding not being permitted to upload this file type. If I change the file type to TXT, I receive a message that the file is too big to upload - the FNTCACHE.DAT file is 404KB. Should I be able to attach files to posts - is there a setting I'm missing?

Many thanks for your help with this.

Regards. . .

Tony N.
  • 0

#8 Sarkut

Sarkut
  • Competition Hosts
  • 3,206 posts
  • Reputation:4

Posted 11 March 2011 - 05:25 AM

Put FNTCACHE.DAT.BAK into a zipfile:

Right-click > Send to > Compressed (zipped) Folder.

Drag-and-drop the zipfile from your PC onto this web page:

http://min.us/

Copy from the address bar the web address that results , and paste it into a post here.

.

Edited by Sarkut, 11 March 2011 - 05:34 AM.

  • 0

Posted Image


#9 AKN

AKN
  • Members
  • 11 posts
  • LocationVictoria, BC, Canada
  • Reputation:0

Posted 11 March 2011 - 05:56 AM

Sarkut: Thanks for your suggestion.

Rick: If it is of any help, the file is at: FNTCACHE.DAT.BAK

Thanks. . .

Tony N.
  • 0

#10 Neonei

Neonei
  • Newbies
  • 2 posts
  • LocationMichigan,Usa
  • Reputation:0

Posted 14 March 2011 - 02:26 AM

i would also like to add that i am not seeing my fonts as well...sigh i have just gotten a new tower with windows 7 installed and downloaded a fresh copy of paint.net
I only see about 10 samples next to the fonts...


Here are the computer specs
windows 7 home premium 64bit os
manufacturer: HP
Running a Dual Core E5800 @ 3.2GHz
with 4Gig of Ram

i know that is not much info to go off of but i have been noticing that other software programs
have been having problems with the 64bit os...

i am usually some what computer literate...but my fonts are really needed to do my work.

and i have already tried what was suggested above too...no go...sigh:cry:

thanks in advanceFontIssuesMarch132011.jpg

  • 0

#11 JLWW

JLWW
  • Newbies
  • 1 posts
  • Reputation:0

Posted 14 March 2011 - 10:55 AM

Problem: Whenever i try to use the text tool, the message "There was an unhandle error, and Paint.Net must be closed. Refer to the file 'pdncrash.log', which has been placed on your desktop, for more information.

I have:

-Restarted my Acer Aspire 4738 (Intel core i5-460M, 500GB HDD, 2GB DDR3) laptop
- Ran a full system scan using Avast anti-virus
-Updated to newest Paint.Net (3.5.8)
-Deleted C://Windows/System32/fntcache.dat

But the problem persists. Please help...

Crash log:


Application version: Paint.NET v3.5.8 (Final Release build 3.58.4081.24580)
Time of crash: 14/3/2011 6:43:14 PM
Application uptime: 00:00:02.9321677
Install directory: C:\Program Files\Paint.NET
Current directory: C:\Program Files\Paint.NET
OS Version: 6.1.7600.0 Workstation x64
.NET version: CLR 2.0.50727.4952 x64, FX 2.0 (rtm sp1 sp2) 3.0 (rtm sp1 sp2) 3.5 (rtm sp1 sp1_CP) 4.0 (rtm)
Processor: 4x "Intel® Core™ i5 CPU M 460 @ 2.53GHz" @ ~2527MHz (DEP, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2), fps=0x0
Physical memory: 2806 MB
UI DPI: 96.00 dpi (1.00x scale)
UI Theme: Aero/Aero + DWM (Aero.msstyles)
Updates: true, 11/3/2011
Locale: pdnr.c: en-US, hklm: en-US, hkcu: n/a, cc: en-SG, cuic: en-US
Managed assemblies:
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorlib.dll
PaintDotNet, Version=3.58.4081.24586, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.exe
PaintDotNet.Base, Version=3.58.4081.24574, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Base.dll
System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll
WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\Windows\assembly\GAC_MSIL\WindowsBase\3.0.0.0__31bf3856ad364e35\WindowsBase.dll
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.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
System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll
PaintDotNet.Core, Version=3.58.4081.24581, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Core.dll
PaintDotNet.SystemLayer, Version=3.58.4081.24580, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.dll
PaintDotNet.Resources, Version=3.58.4081.24580, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Resources.dll
PaintDotNet.Data, Version=3.58.4081.24584, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Data.dll
PaintDotNet.Effects, Version=3.58.4081.24585, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Effects.dll
PaintDotNet.SystemLayer.Native.x64, Version=3.58.4081.24579, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.Native.x64.dll
msvcm90, Version=9.0.30729.4926, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_08e1a05ba83fe554\msvcm90.dll
Native modules:
C:\Program Files\Paint.NET\PaintDotNet.exe, version='3.58.4081.24586'
C:\Windows\SYSTEM32\ntdll.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\SYSTEM32\MSCOREE.DLL, version='4.0.31106.0 (Main.031106-0000)'
C:\Windows\system32\KERNEL32.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\KERNELBASE.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\ADVAPI32.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\msvcrt.dll, version='7.0.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\SYSTEM32\sechost.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\RPCRT4.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll, version='4.0.30319.1 (RTMRel.030319-0100)'
C:\Windows\system32\SHLWAPI.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\GDI32.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\USER32.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\LPK.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\USP10.dll, version='1.0626.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\IMM32.DLL, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\MSCTF.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorwks.dll, version='2.0.50727.4952 (win7RTMGDR.050727-4900)'
C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_88dce9872fb18caf\MSVCR80.dll, version='8.00.50727.4927'
C:\Windows\system32\shell32.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\ole32.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\profapi.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\assembly\NativeImages_v2.0.50727_64\mscorlib\2e16a238456fbe4a41233d7a732d086b\mscorlib.ni.dll, version='2.0.50727.4952 (win7RTMGDR.050727-4900)'
C:\Windows\system32\CRYPTBASE.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\uxtheme.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\assembly\NativeImages_v2.0.50727_64\System\65f46521e7fca2cd2d216162175f2fd6\System.ni.dll, version='2.0.50727.4927 (NetFXspW7.050727-4900)'
C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Core\6ef98a068f45cbf57702eab0f623d007\System.Core.ni.dll, version='3.5.30729.4926 built by: NetFXw7'
C:\Windows\assembly\NativeImages_v2.0.50727_64\WindowsBase\bdb953c9c0fcd5c281b1bcbcfb527bd2\WindowsBase.ni.dll, version='3.0.6920.5001 built by: Win7RTMGDR'
C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Drawing\e48f514a13b9d9ddd60c82b64e68dc11\System.Drawing.ni.dll, version='2.0.50727.4927 (NetFXspW7.050727-4900)'
C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Windows.Forms\d6fb1e55b2ba3ab8b2815181133130e3\System.Windows.Forms.ni.dll, version='2.0.50727.4927 (NetFXspW7.050727-4900)'
C:\Windows\assembly\NativeImages_v2.0.50727_64\PaintDotNet.Base\4f71a8496516bc6e8934af1915669723\PaintDotNet.Base.ni.dll, version='3.58.4081.24574'
C:\Windows\assembly\NativeImages_v2.0.50727_64\PaintDotNet.SystemL#\8af61cbe0b22165af9487ff04d0aaab7\PaintDotNet.SystemLayer.ni.dll, version='3.58.4081.24580'
C:\Windows\assembly\NativeImages_v2.0.50727_64\PaintDotNet.Resourc#\9d655aa50ad16a62fd12f523ec02f7f9\PaintDotNet.Resources.ni.dll, version='3.58.4081.24580'
C:\Windows\system32\CRYPTSP.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\rsaenh.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\assembly\NativeImages_v2.0.50727_64\PaintDotNet.Core\3849f8ad6c49003a6d4d7a0769df16a8\PaintDotNet.Core.ni.dll, version='3.58.4081.24581'
C:\Windows\assembly\NativeImages_v2.0.50727_64\PaintDotNet.Data\ac4004ee8252a3ba507b47e2ed47918b\PaintDotNet.Data.ni.dll, version='3.58.4081.24584'
C:\Windows\assembly\NativeImages_v2.0.50727_64\PaintDotNet\e874696d23032c12eb201ca43c348446\PaintDotNet.ni.exe, version='3.58.4081.24586'
C:\Windows\assembly\NativeImages_v2.0.50727_64\PaintDotNet.SystemL#\0ee1f70ac8b1df4e66c792c4d8410cdd\PaintDotNet.SystemLayer.Native.x64.ni.dll, version='3.58.0.0'
C:\Windows\assembly\NativeImages_v2.0.50727_64\Interop.WIA\cbceebd16fd592cab8f636a09590c40a\Interop.WIA.ni.dll, version='1.0.0.0'
C:\Windows\assembly\NativeImages_v2.0.50727_64\PaintDotNet.Effects\bae02c5f59b08ce3be60c39861494aa9\PaintDotNet.Effects.ni.dll, version='3.58.4081.24585'
C:\Program Files\Paint.NET\Native.x64\PaintDotNet.Native.x64.dll, version='3.58.0.0'
C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_08e1a05ba83fe554\MSVCR90.dll, version='9.00.30729.4926'
C:\Windows\WinSxS\amd64_microsoft.vc90.openmp_1fc8b3b9a1e18e3b_9.0.30729.4148_none_390a91d20a21a864\VCOMP90.DLL, version='9.00.30729.4148 built by: QFE'
C:\Windows\system32\dwmapi.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7600.16385_none_2b4f45e87195fcc4\gdiplus.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorjit.dll, version='2.0.50727.4927 (NetFXspW7.050727-4900)'
C:\Windows\system32\WindowsCodecs.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16661_none_fa62ad231704eab7\comctl32.dll, version='6.10 (win7_rtm.090713-1255)'
C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.Native.x64.dll, version='3.58.0.0'
C:\Windows\system32\OLEAUT32.dll, version='6.1.7600.16567'
C:\Windows\WinSxS\amd64_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.4148_none_0a1d2fcba76b3f00\ATL90.DLL, version='9.00.30729.4148'
C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_08e1a05ba83fe554\msvcm90.dll, version='9.00.30729.4926'
C:\Windows\system32\d2d1.dll, version='6.1.7600.16763 (win7_gdr.110218-1501)'
C:\Windows\system32\dwrite.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\RpcRtRemote.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\wtsapi32.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\WINSTA.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\version.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\SetupApi.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\CFGMGR32.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\DEVOBJ.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\WINTRUST.dll, version='6.1.7600.16493 (win7_gdr.091228-1501)'
C:\Windows\system32\CRYPT32.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\MSASN1.dll, version='6.1.7600.16415 (win7_gdr.090828-1615)'
C:\Program Files\Acer\Acer ePower Management\SysHook.dll, version='5, 0, 3005, 0'
C:\Windows\system32\WINSPOOL.DRV, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\CLBCatQ.DLL, version='2001.12.8530.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\d3d10_1.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\d3d10_1core.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\dxgi.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
C:\Windows\system32\psapi.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'

Exception details:
PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.Exception: ..\DirectWriteFontRenderer.cpp (764) : hr = m_pD2D1Factory->CreateWicBitmapRenderTarget( pWicBitmap, &renderTargetProps, &pD2DRenderTarget); ---> System.Runtime.InteropServices.COMException (0x88990008): Exception from HRESULT: 0x88990008
--- End of inner exception stack trace ---
at PaintDotNet.SystemLayer.Native.x64.Typography.DirectWrite.DirectWriteFontRenderer.DrawTextToBitmap(IBitmapTextRenderTarget target, String text, Point offset, Int32Rect clipRect)
at PaintDotNet.SystemLayer.Native.x64.Typography.DirectWrite.DirectWriteFontRenderer.DrawTextBase(ITextRenderTarget target, String text, Point offset, Int32Rect clipRect)
at PaintDotNet.Typography.FontRendererExtensions.DrawText(IFontRenderer fontRenderer, ITextRenderTarget target, String text, Point offset, Int32Rect clipBounds) in D:\src\pdn\pdn_35x\src\Base\Typography\FontRendererExtensions.cs:line 23
at PaintDotNet.Tools.TextTool.<>c__DisplayClassa.<RedrawText>b__2(Object ) in D:\src\pdn\pdn_35x\src\PaintDotNet\Tools\TextTool.cs:line 1046
at PaintDotNet.Threading.PrivateThreadPool.ThreadWrapperContext.ThreadWrapper() in D:\src\pdn\pdn_35x\src\Core\Threading\PrivateThreadPool.cs:line 179
--- End of inner exception stack trace ---
at PaintDotNet.Threading.PrivateThreadPool.DrainExceptions() in D:\src\pdn\pdn_35x\src\Core\Threading\PrivateThreadPool.cs:line 74
at PaintDotNet.Tools.TextTool.RedrawText(Boolean cursorOn) in D:\src\pdn\pdn_35x\src\PaintDotNet\Tools\TextTool.cs:line 1085
at PaintDotNet.Tools.TextTool.OnMouseDown(MouseEventArgsF e) in D:\src\pdn\pdn_35x\src\PaintDotNet\Tools\TextTool.cs:line 1693
at PaintDotNet.Tools.Tool.MouseDown(MouseEventArgsF e) in D:\src\pdn\pdn_35x\src\PaintDotNet\Tools\Tool.cs:line 826
at PaintDotNet.Controls.AppWorkspace.DocumentMouseDownHandler(Object sender, MouseEventArgsF e) in D:\src\pdn\pdn_35x\src\PaintDotNet\Controls\AppWorkspace.cs:line 1766
at PaintDotNet.Controls.DocumentView.OnDocumentMouseDown(MouseEventArgsF e) in D:\src\pdn\pdn_35x\src\PaintDotNet\Controls\DocumentView.cs:line 1147
at PaintDotNet.Controls.DocumentView.MouseDownHandler(Object sender, MouseEventArgs e) in D:\src\pdn\pdn_35x\src\PaintDotNet\Controls\DocumentView.cs:line 1535
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at PaintDotNet.SystemLayer.GdiPaintControl.WndProc(Message& m) in D:\src\pdn\pdn_35x\src\SystemLayer\GdiPaintControl.cs:line 151
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
------------------------------------------------------------------------------
  • 0

#12 Sarkut

Sarkut
  • Competition Hosts
  • 3,206 posts
  • Reputation:4

Posted 14 March 2011 - 06:47 PM

This link shows the procedure that I followed with a similar situation:

http://forums.getpai...ed/#entry348230
  • 0

Posted Image


#13 Rick Brewster

Rick Brewster

    Paint.NET Author and Developer

  • Administrators
  • 13,123 posts
  • LocationKirkland, WA
  • Reputation:232

Posted 14 March 2011 - 08:10 PM

Sarkut, this is unrelated to the problem you were seeing.

PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.Exception: ..\DirectWriteFontRenderer.cpp (764) : hr = m_pD2D1Factory->CreateWicBitmapRenderTarget( pWicBitmap, &renderTargetProps, &pD2DRenderTarget); ---> System.Runtime.InteropServices.COMException (0x88990008): Exception from HRESULT: 0x88990008


0x88990008 is "Direct2D internal error." I've been getting a lot of reports on this and I'm looking into the matter. I think it's related to an update in d2d1.dll (Direct2D). A speculative fix may involve uninstalling Internet Explorer 9 (beta / release candidate), which contains an updated d2d1.dll.
  • 0
The Paint.NET Blog: http://blog.getpaint.net/
Donations are always appreciated! http://www.getpaint.net/donate.html

Posted Image

#14 Rick Brewster

Rick Brewster

    Paint.NET Author and Developer

  • Administrators
  • 13,123 posts
  • LocationKirkland, WA
  • Reputation:232

Posted 16 March 2011 - 05:52 PM

This is a crash I've been getting many reports on and I'm trying to get to the bottom of it. Right now, the evidence points to a bug in Direct2D. The code for font/text handling hasn't changed in Paint.NET v3.5.x since v3.5.2 was released in January 2010.

A few speculative things to look into:

1) Do you have Internet Explorer 9 installed (Beta, RC, or Final)? If so, try uninstalling it and see if that makes the crash go away. This isn't a permanent fix, but it will provide me with some useful information.

2) Do you have Windows 7 SP1 installed? Did the crash happen before you installed SP1?

3) If you don't have Windows 7 SP1 installed, try installing it. Does that fix it?

4) Do you have the Arial font installed?

(The reason I mention IE9 and SP1 is that they both contain an updated version of Direct2D.)
  • 0
The Paint.NET Blog: http://blog.getpaint.net/
Donations are always appreciated! http://www.getpaint.net/donate.html

Posted Image

#15 AKN

AKN
  • Members
  • 11 posts
  • LocationVictoria, BC, Canada
  • Reputation:0

Posted 16 March 2011 - 08:51 PM

Hi Rick: Thanks for your continued support with this - here are my comments on your questions:

  • Internet Explorer - I do not have Internet Explorer 9 installed.
  • Windows 7 SP1 - I have not installed SP1.
  • Windows 7 SP1 - I will install SP1 and see if that resolves the problem. This might take me a day or two, and somebody else may beat me to it and want to report the results.
  • Arial Font - yes, the Arial font is installed, although it is one of the fonts which will cause Paint.NET to crash if I try to use it with the Text Tool. The fonts which are usable with Paint.NET are: 8514oem, Courier, Fixedsys, Modern, MS Sans Serif, MS Serif, Roman, Script, Small Fonts, System and Terminal.
I hope this helps.

Regards. . .

Tony N.
  • 0

#16 Rick Brewster

Rick Brewster

    Paint.NET Author and Developer

  • Administrators
  • 13,123 posts
  • LocationKirkland, WA
  • Reputation:232

Posted 16 March 2011 - 09:57 PM

The fonts you listed as working are bitmap fonts rendered via GDI, and don't use DirectWrite. So, this is a clear case of full Direct2D/DirectWrite failure.
  • 0
The Paint.NET Blog: http://blog.getpaint.net/
Donations are always appreciated! http://www.getpaint.net/donate.html

Posted Image

#17 Rick Brewster

Rick Brewster

    Paint.NET Author and Developer

  • Administrators
  • 13,123 posts
  • LocationKirkland, WA
  • Reputation:232

Posted 16 March 2011 - 10:08 PM

You can also try installing this update: edit: Nope, that update actually was what causes the problem!

To find the actual download (they do a bad job of making it easy to find) : Click the + for "On this page" section, then find the "How to obtain this update" link and click it.

Attached Thumbnails

  • howto.png

  • 0
The Paint.NET Blog: http://blog.getpaint.net/
Donations are always appreciated! http://www.getpaint.net/donate.html

Posted Image

#18 Rick Brewster

Rick Brewster

    Paint.NET Author and Developer

  • Administrators
  • 13,123 posts
  • LocationKirkland, WA
  • Reputation:232

Posted 16 March 2011 - 10:36 PM

Also, I've merged another thread, "Cannot add text" by JLWW, into this one, since they're the same issue.
  • 0
The Paint.NET Blog: http://blog.getpaint.net/
Donations are always appreciated! http://www.getpaint.net/donate.html

Posted Image

#19 AKN

AKN
  • Members
  • 11 posts
  • LocationVictoria, BC, Canada
  • Reputation:0

Posted 17 March 2011 - 01:48 AM

Hi Rick: I have just installed Windows 7 SP1 and it has resolved the situation with Paint.NET not recognizing fonts. When I check the font listing they are all showing the sample script, and I used several fonts with the Text Tool and they all worked.

Many thanks for your help with this.

Regards. . .

Tony N.
  • 0

#20 Rick Brewster

Rick Brewster

    Paint.NET Author and Developer

  • Administrators
  • 13,123 posts
  • LocationKirkland, WA
  • Reputation:232

Posted 17 March 2011 - 02:21 AM

That is very good news. Thanks.
  • 0
The Paint.NET Blog: http://blog.getpaint.net/
Donations are always appreciated! http://www.getpaint.net/donate.html

Posted Image