Bug 31643 - Bug ID No 7962 returned - Macintosh OSX 10.10 Mono 4
Summary: Bug ID No 7962 returned - Macintosh OSX 10.10 Mono 4
Status: RESOLVED INVALID
Alias: None
Product: Class Libraries
Classification: Mono
Component: libgdiplus ()
Version: 4.0.0
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-07-04 23:06 UTC by Robert
Modified: 2015-07-05 15:18 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Digital Communication Terminal Node Controller (DSP modem for radios) (230.72 KB, application/zip)
2015-07-04 23:06 UTC, Robert
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED INVALID

Description Robert 2015-07-04 23:06:44 UTC
Created attachment 11862 [details]
Digital Communication Terminal Node Controller (DSP modem for radios)

Don't have the source to replicate a simpler test case. See attached mono exe. Previous bug ID number for the same error is 7962. The test case for bug ID 7962 fails to compile on mono version 4.

Operating System: MacOSX 10.10.3
Installed Framework: MonoFramework-MDK-4.0.2.5.macos10.xamarin.x86
Examined the source for libgdiplus would indicate the default fonts name in font.c are not relevant for the MacOS. As these fonts are not available either by file or tag name.

MS San Serif
Serif
Courier New

The reporting errors don't indicated which Font is the problem "<filename unknown>:0" or where it was searching. Making it hard to determine the fundamental issue.

System.InvalidOperationException: WinForms_SeeInnerException ---> System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0 
  at System.Drawing.Font.GetHeight (Single dpi) [0x00000] in <filename unknown>:0 
  at System.Drawing.Font.GetHeight () [0x00000] in <filename unknown>:0 
  at System.Drawing.Font.get_Height () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Font:get_Height ()
  at System.Windows.Forms.XplatUICarbon.GetAutoScaleSize (System.Drawing.Font font) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUI.GetAutoScaleSize (System.Drawing.Font font) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Form.GetAutoScaleSize (System.Drawing.Font font) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Form..ctor () [0x00000] in <filename unknown>:0 
  at ARDOP_Win1.Main..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at ARDOP_Win1.My.MyProject+MyForms.Create__Instance__[Main] (ARDOP_Win1.Main Instance) [0x00000] in <filename unknown>:0 
  at ARDOP_Win1.My.MyProject+MyForms.get_Main () [0x00000] in <filename unknown>:0 
  at ARDOP_Win1.My.MyApplication.OnCreateMainForm () [0x00000] in <filename unknown>:0 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00000] in <filename unknown>:0 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00000] in <filename unknown>:0 
  at ARDOP_Win1.My.MyApplication.Main (System.String[] Args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: WinForms_SeeInnerException ---> System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0 
  at System.Drawing.Font.GetHeight (Single dpi) [0x00000] in <filename unknown>:0 
  at System.Drawing.Font.GetHeight () [0x00000] in <filename unknown>:0 
  at System.Drawing.Font.get_Height () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Font:get_Height ()
  at System.Windows.Forms.XplatUICarbon.GetAutoScaleSize (System.Drawing.Font font) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUI.GetAutoScaleSize (System.Drawing.Font font) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Form.GetAutoScaleSize (System.Drawing.Font font) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Form..ctor () [0x00000] in <filename unknown>:0 
  at ARDOP_Win1.Main..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at ARDOP_Win1.My.MyProject+MyForms.Create__Instance__[Main] (ARDOP_Win1.Main Instance) [0x00000] in <filename unknown>:0 
  at ARDOP_Win1.My.MyProject+MyForms.get_Main () [0x00000] in <filename unknown>:0 
  at ARDOP_Win1.My.MyApplication.OnCreateMainForm () [0x00000] in <filename unknown>:0 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00000] in <filename unknown>:0 
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00000] in <filename unknown>:0 
  at ARDOP_Win1.My.MyApplication.Main (System.String[] Args) [0x00000] in <filename unknown>:0
Comment 1 Robert 2015-07-05 15:18:05 UTC
Remove this bug report, this is a result of a conflict between 2 different version of mono on the same system