From: SourceForge.net <no...@so...> - 2007-08-08 23:53:57
|
Bugs item #1713592, was opened at 2007-05-05 18:08 Message generated for change (Comment added) made by jamcquay You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=1713592&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: 0.9.10.0 >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Onno the dutchman (onnovl) >Assigned to: Jamie McQuay (jamcquay) Summary: unhandled exception concerning font used in NPlot Initial Comment: Hi Guys NPlot uses call to arial font that causes an unhandled exception to be generated on some systems running windows xp. It looks like the font is not always properly registered with the system. Although this problem is probably a Microsoft issue it does not seem very user friendly to delegate the problem to the end-user. I found a discussion on this topic on the following site: http://www.spheresite.com/forum/read.php?7,92872,93423 Maybe an exception has to be generated "Font arial is not properly installed (in windows), please reinstall". Alternatively a message could be displayed giving this information to the user. Cheers Onno System.ArgumentException: _Font 'Arial' 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..ctor(FontFamily family, Single emSize, >>> FontStyle style, GraphicsUnit unit) >>> at NPlot.PlotSurface2D.Init() >>> at NPlot.PlotSurface2D..ctor() >>> at NPlot.Windows.PlotSurface2D..ctor() ---------------------------------------------------------------------- >Comment By: Jamie McQuay (jamcquay) Date: 2007-08-08 19:54 Message: Logged In: YES user_id=613279 Originator: NO A NPlotException is now thrown explaining that the Arial font is not installed. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=1713592&group_id=161868 |