Post

1 follower Follow
0
Avatar

Font 'Lucida Sans' does not support style 'Regular'

program crashes on accessing diagrams in template.

Crash report as follows:

 

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.ArgumentException: Font 'Lucida Sans' does not support style 'Regular'.

   at System.Drawing.Font.CreateNativeFont()

   at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)

   at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)

   at System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)

   at Nevron.GraphicsCore.lIlIll1l..ctor(Graphics lIIIlllIll, String familyName, Single lIIIlllIl1, FontStyle style, Byte lIIIlllIlI, Boolean lIIIlllI1l)

   at Nevron.GraphicsCore.l1IlIIll.set_FontStyle(NFontStyle value)

   at Nevron.GraphicsCore.Renderers.NTextRenderer.MeasureText(NTextStyle textStyle, String text)

   at Nevron.GraphicsCore.Renderers.NTextRenderer.MeasureTextWithBackplane(NTextStyle textStyle, String text)

   at Nevron.Diagram.NDiagramNode.MeasureStringInWorld(String str, NTextStyle style, NSizeF& size)

   at Nevron.Diagram.NLogicalLineLabel.GetWorldTextPaintInfo(String text, NTextPaintInfo& info)

   at Nevron.Diagram.NLabel.HitTest(NPointF point, NHitTestContext context)

   at Nevron.Diagram.NDiagramElementCompositeImpl.LastHit(NPointF point, Int32 depth, INFilter filter, NHitTestContext context)

   at Nevron.Diagram.NDrawingDocument.LastHit(NPointF point, Int32 depth, INFilter filter, NHitTestContext context)

   at Nevron.Diagram.WinForm.NDrawingView.LastDocumentHit(NPointF point, INFilter filter)

   at jk.a(Object A_0, EventArgs A_1)

   at System.Windows.Forms.Timer.OnTick(EventArgs e)

   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************

mscorlib

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3634 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

CaseComplete

    Assembly Version: 7.0.4577.18907

    Win32 Version: 7.0.4577.18907

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/CaseComplete.exe

IDAL

    Assembly Version: 7.0.4577.18893

    Win32 Version: 7.0.4577.18893

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/IDAL.DLL

System

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3634 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Windows.Forms

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3637 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3639 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

XMLDAL

    Assembly Version: 7.0.4577.18893

    Win32 Version: 7.0.4577.18893

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/XMLDAL.DLL

BLL

    Assembly Version: 7.0.4577.18894

    Win32 Version: 7.0.4577.18894

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/BLL.DLL

System.Web

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3634 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll

DevComponents.DotNetBar2

    Assembly Version: 10.0.0.0

    Win32 Version: 10.0.0.0

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/DevComponents.DotNetBar2.DLL

Controls

    Assembly Version: 7.0.4577.18893

    Win32 Version: 7.0.4577.18893

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/Controls.DLL

ModelUI

    Assembly Version: 7.0.4577.18894

    Win32 Version: 7.0.4577.18894

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/ModelUI.DLL

Diagramming

    Assembly Version: 7.0.4577.18894

    Win32 Version: 7.0.4577.18894

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/Diagramming.DLL

Model

    Assembly Version: 7.0.4577.18892

    Win32 Version: 7.0.4577.18892

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/Model.DLL

System.Xml

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

System.Data

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

Nevron.System

    Assembly Version: 11.6.15.12

    Win32 Version: 11.6.15.12

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/Nevron.System.DLL

Nevron.Diagram.WinForm

    Assembly Version: 11.6.15.12

    Win32 Version: 11.6.15.12

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/Nevron.Diagram.WinForm.DLL

Licensing

    Assembly Version: 1.2.4367.20348

    Win32 Version: 1.2.4367.20348

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/Licensing.DLL

Keyoti.RapidSpell.NET2

    Assembly Version: 5.0.11.601

    Win32 Version: 5.0.11.601

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/Keyoti.RapidSpell.NET2.DLL

Nevron.Presentation

    Assembly Version: 11.6.15.12

    Win32 Version: 11.6.15.12

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/Nevron.Presentation.DLL

System.Security

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3613 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll

System.Configuration

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

gwhm8sue

    Assembly Version: 7.0.4577.18907

    Win32 Version: 2.0.50727.3634 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

Nevron.Diagram

    Assembly Version: 11.6.15.12

    Win32 Version: 11.6.15.12

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/Nevron.Diagram.DLL

Nevron.Diagram.Shapes

    Assembly Version: 11.6.15.12

    Win32 Version: 11.6.15.12

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/Nevron.Diagram.Shapes.DLL

Nevron.Diagram.Templates

    Assembly Version: 11.6.15.12

    Win32 Version: 11.6.15.12

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/Nevron.Diagram.Templates.DLL

System.Runtime.Serialization.Formatters.Soap

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/2.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll

System.Design

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3637 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll

Microsoft.JScript

    Assembly Version: 8.0.0.0

    Win32 Version: 8.0.50727.3053

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.JScript/8.0.0.0__b03f5f7f11d50a3a/Microsoft.JScript.dll

Accessibility

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

lubudt09

    Assembly Version: 11.6.15.12

    Win32 Version: 2.0.50727.3634 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

VersionControlAPI

    Assembly Version: 7.0.4577.18832

    Win32 Version: 7.0.4577.18832

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/VersionControlAPI.DLL

SvnAdapter

    Assembly Version: 7.0.4577.18832

    Win32 Version: 7.0.4577.18832

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/SvnAdapter.DLL

SharpSvn

    Assembly Version: 1.6016.1637.10768

    Win32 Version: 1.6016.1637.10768

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/SharpSvn.DLL

msvcm90

    Assembly Version: 9.0.30729.6161

    Win32 Version: 9.00.30729.6161

    CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_31a54e43/msvcm90.dll

-ayfdy0i

    Assembly Version: 11.6.15.12

    Win32 Version: 2.0.50727.3634 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

SccAdapter

    Assembly Version: 7.0.4577.18833

    Win32 Version: 7.0.4577.18833

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/SccAdapter.DLL

IPCMgmt

    Assembly Version: 7.0.4577.18893

    Win32 Version: 7.0.4577.18893

    CodeBase: file:///C:/Program%20Files/Serlio%20Software/CaseComplete%202012/IPCMgmt.DLL

hmae1ogq

    Assembly Version: 11.6.15.12

    Win32 Version: 2.0.50727.3634 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

aukxqscc

    Assembly Version: 11.6.15.12

    Win32 Version: 2.0.50727.3634 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

afpq8a-e

    Assembly Version: 11.6.15.12

    Win32 Version: 2.0.50727.3634 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

raxlxefc

    Assembly Version: 11.6.15.12

    Win32 Version: 2.0.50727.3634 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

picoazoe

    Assembly Version: 11.6.15.12

    Win32 Version: 2.0.50727.3634 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

l3p2kfjb

    Assembly Version: 11.6.15.12

    Win32 Version: 2.0.50727.3634 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

rk6cxnvh

    Assembly Version: 11.6.15.12

    Win32 Version: 2.0.50727.3634 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

v44maco-

    Assembly Version: 11.6.15.12

    Win32 Version: 2.0.50727.3634 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Data.DataSetExtensions

    Assembly Version: 3.5.0.0

    Win32 Version: 3.5.30729.1 built by: SP

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Data.DataSetExtensions/3.5.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll

System.Core

    Assembly Version: 3.5.0.0

    Win32 Version: 3.5.30729.1 built by: SP

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll

rvb4mb-d

    Assembly Version: 7.0.4577.18907

    Win32 Version: 2.0.50727.3634 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.ServiceModel.Web

    Assembly Version: 3.5.0.0

    Win32 Version: 3.5.594.1152

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.ServiceModel.Web/3.5.0.0__31bf3856ad364e35/System.ServiceModel.Web.dll

System.Runtime.Serialization

    Assembly Version: 3.0.0.0

    Win32 Version: 3.0.4506.3636 (GDR.030729-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Serialization/3.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

System.ServiceModel

    Assembly Version: 3.0.0.0

    Win32 Version: 3.0.4506.3636 (GDR.030729-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.ServiceModel/3.0.0.0__b77a5c561934e089/System.ServiceModel.dll

SMDiagnostics

    Assembly Version: 3.0.0.0

    Win32 Version: 3.0.4506.3636 (GDR.030729-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/SMDiagnostics/3.0.0.0__b77a5c561934e089/SMDiagnostics.dll

Microsoft.mshtml

    Assembly Version: 7.0.3300.0

    Win32 Version: 7.0.3300.0

    CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll

tj2agd4u

    Assembly Version: 11.6.15.12

    Win32 Version: 2.0.50727.3634 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

For example:

<configuration>

    <system.windows.forms jitDebugging="true" />

</configuration>

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.

 

pkgill Answered

Please sign in to leave a comment.

1 comment

0
Avatar

Hi Paul,

I assume you ran into this problem while viewing the sample Loan Processing project.  We have seen this several times, and it results from missing the regular variation of the Lucida Sans font.  It's unclear why the font is missing for a small group of people, but available to everyone else. I've attached the missing font file.  After downloading, you can double click on it and select Install, or you can just drop it into your c:\Windows\fonts folder.  Alternatively, we've changed the font in the sample project in the next version of CaseComplete (due out any day now). I can make that version available if you'd like, just let me know.

Doug Earl 0 votes
Comment actions Permalink