Jump to content

PkHex on Fedora Linux gives errors when trying to use with wine


Recommended Posts

Posted

Error:
 

System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
  at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x001ce] in <05b0476aeef247f38f8c660bca518cd1>:0
  at System.Drawing.FontFamily..ctor (System.Drawing.Text.GenericFontFamilies genericFamily) [0x0004d] in <05b0476aeef247f38f8c660bca518cd1>:0
  at (wrapper remoting-invoke-with-check) System.Drawing.FontFamily..ctor(System.Drawing.Text.GenericFontFamilies)
  at System.Drawing.FontFamily.get_GenericSansSerif () [0x00000] in <05b0476aeef247f38f8c660bca518cd1>:0
  at System.Drawing.Font.CreateFont (System.String familyName, System.Single emSize, System.Drawing.FontStyle style, System.Drawing.GraphicsUnit unit, System.Byte charSet, System.Boolean isVertical) [0x00011] in <05b0476aeef247f38f8c660bca518cd1>:0
  at System.Drawing.Font..ctor (System.String familyName, System.Single emSize, System.Drawing.FontStyle style, System.Drawing.GraphicsUnit unit, System.Byte gdiCharSet, System.Boolean gdiVerticalFont) [0x00011] in <05b0476aeef247f38f8c660bca518cd1>:0
  at System.Drawing.Font..ctor (System.String familyName, System.Single emSize, System.String systemName) [0x00000] in <05b0476aeef247f38f8c660bca518cd1>:0
  at (wrapper remoting-invoke-with-check) System.Drawing.Font..ctor(string,single,string)
  at System.Drawing.SystemFonts.get_MenuFont () [0x00000] in <05b0476aeef247f38f8c660bca518cd1>:0
  at System.Windows.Forms.ToolStripManager.get_DefaultFont () [0x00039] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.ToolStripItem.get_Font () [0x0003a] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.ToolStripItemInternalLayout.CommonLayoutOptions () [0x00048] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.ToolStripDropDownButton+ToolStripDropDownButtonInternalLayout.CommonLayoutOptions () [0x00001] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.ToolStripItemInternalLayout.GetLayoutData () [0x00001] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.ToolStripItemInternalLayout.PerformLayout () [0x00001] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.ToolStripItem.OnBoundsChanged () [0x00019] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.ToolStripDropDownItem.OnBoundsChanged () [0x00001] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.ToolStripItem.SetBounds (System.Drawing.Rectangle bounds) [0x00038] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.ToolStripOverflowButton.SetBounds (System.Drawing.Rectangle bounds) [0x00075] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.ToolStripItem.set_Size (System.Drawing.Size value) [0x00011] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.ToolStrip.get_OverflowButton () [0x00074] in <e5894539c8b244dab73df0a8479080c1>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStrip.get_OverflowButton()
  at System.Windows.Forms.ToolStripSplitStackLayout.get_OverflowButtonSize () [0x0001e] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.ToolStripSplitStackLayout.LayoutHorizontal () [0x0005c] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.ToolStripSplitStackLayout.LayoutCore (System.Windows.Forms.Layout.IArrangedElement container, System.Windows.Forms.LayoutEventArgs layoutEventArgs) [0x000a9] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.Layout.LayoutEngine.Layout (System.Object container, System.Windows.Forms.LayoutEventArgs layoutEventArgs) [0x0001d] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.Control.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x00041] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.ScrollableControl.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x0002d] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.ToolStrip.OnLayout (System.Windows.Forms.LayoutEventArgs e) [0x0008f] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.LayoutEventArgs args) [0x0008d] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.Control.PerformLayout () [0x0000f] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.Control.ResumeLayout (System.Boolean performLayout) [0x00079] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.ToolStrip..ctor () [0x0023e] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.MenuStrip..ctor () [0x00007] in <e5894539c8b244dab73df0a8479080c1>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.MenuStrip..ctor()
  at PKHeX.WinForms.Main.InitializeComponent () [0x0000b] in <3b48c61e2ef2484db626ed72e633de66>:0
  at PKHeX.WinForms.Main..ctor () [0x00077] in <3b48c61e2ef2484db626ed72e633de66>:0
  at (wrapper remoting-invoke-with-check) PKHeX.WinForms.Main..ctor()
  at PKHeX.WinForms.Program.Main () [0x00038] in <3b48c61e2ef2484db626ed72e633de66>:0
System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
  at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x001ce] in <05b0476aeef247f38f8c660bca518cd1>:0
  at System.Drawing.FontFamily..ctor (System.Drawing.Text.GenericFontFamilies genericFamily) [0x0004d] in <05b0476aeef247f38f8c660bca518cd1>:0
  at (wrapper remoting-invoke-with-check) System.Drawing.FontFamily..ctor(System.Drawing.Text.GenericFontFamilies)
  at System.Drawing.FontFamily.get_GenericSansSerif () [0x00000] in <05b0476aeef247f38f8c660bca518cd1>:0
  at System.Drawing.Font.CreateFont (System.String familyName, System.Single emSize, System.Drawing.FontStyle style, System.Drawing.GraphicsUnit unit, System.Byte charSet, System.Boolean isVertical) [0x00011] in <05b0476aeef247f38f8c660bca518cd1>:0
  at System.Drawing.Font..ctor (System.String familyName, System.Single emSize, System.Drawing.FontStyle style, System.Drawing.GraphicsUnit unit, System.Byte gdiCharSet, System.Boolean gdiVerticalFont) [0x00011] in <05b0476aeef247f38f8c660bca518cd1>:0
  at System.Drawing.Font..ctor (System.String familyName, System.Single emSize, System.String systemName) [0x00000] in <05b0476aeef247f38f8c660bca518cd1>:0
  at (wrapper remoting-invoke-with-check) System.Drawing.Font..ctor(string,single,string)
  at System.Drawing.SystemFonts.get_DefaultFont () [0x00000] in <05b0476aeef247f38f8c660bca518cd1>:0
  at System.Windows.Forms.Control.get_DefaultFont () [0x0000e] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.Control.get_Font () [0x00088] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.Control.get_FontHeight () [0x000a9] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.TextBoxBase.get_PreferredHeight () [0x00001] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.TextBoxBase.get_DefaultSize () [0x00001] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.Control..ctor (System.Boolean autoInstallSyncContext) [0x000e3] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.Control..ctor () [0x00000] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.TextBoxBase..ctor () [0x0003a] in <e5894539c8b244dab73df0a8479080c1>:0
  at System.Windows.Forms.TextBox..ctor () [0x0004a] in <e5894539c8b244dab73df0a8479080c1>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.TextBox..ctor()
  at PKHeX.WinForms.ErrorWindow.InitializeComponent () [0x00000] in <3b48c61e2ef2484db626ed72e633de66>:0
  at PKHeX.WinForms.ErrorWindow..ctor () [0x00006] in <3b48c61e2ef2484db626ed72e633de66>:0
  at PKHeX.WinForms.ErrorWindow..ctor (System.String lang) [0x00000] in <3b48c61e2ef2484db626ed72e633de66>:0
  at (wrapper remoting-invoke-with-check) PKHeX.WinForms.ErrorWindow..ctor(string)
  at PKHeX.WinForms.ErrorWindow.ShowErrorDialog (System.String friendlyMessage, System.Exception ex, System.Boolean allowContinue) [0x0000f] in <3b48c61e2ef2484db626ed72e633de66>:0
  at PKHeX.WinForms.Program.CurrentDomain_UnhandledException (System.Object sender, System.UnhandledExceptionEventArgs e) [0x00023] in <3b48c61e2ef2484db626ed72e633de66>:0 

 

Posted (edited)
11 hours ago, Kaphotics said:

Then make sure the right fonts are installed.

This is an issue with your wine installation, not PKHeX.

Thank you, I will look in to it. Have a nice day, fren. Though, do you know what font family it is asking for? I have installed the TrueType fonts and that doesn't seem to be working, I have also tried to reinstall and update wine but to no avail.

Edited by devoly
Posted
47 minutes ago, devoly said:

Thank you, I will look in to it. Have a nice day, fren. Though, do you know what font family it is asking for? I have installed the TrueType fonts and that doesn't seem to be working, I have also tried to reinstall and update wine but to no avail.

From the stacktrace:

FontFamily.get_GenericSansSerif

Posted
50 minutes ago, Kaphotics said:

From the stacktrace:

FontFamily.get_GenericSansSerifTh

Thanks, somehow didn't notice that in the error message. I tried installing wine-ms-serif-fonts but that didn't work either, I even tried to install the font on its own as Micross.ttf. Neither of them worked, so I'll just use my laptop running windows. Thanks for the help

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...