You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu 22.04.2下Wine 6.0.3运行Windows程序出现“The requested FontFamily could not be found”错误的解决方法求助

Ubuntu 22.04.2下Wine 6.0.3运行Windows程序出现“The requested FontFamily could not be found”错误的解决方法求助

各位好,我最近碰到个棘手的问题,想请教下社区的大佬们:

我在Ubuntu 22.04.2系统上用Wine 6.0.3版本运行一款Windows可执行程序时,直接抛出了字体相关的致命异常,具体报错信息如下:

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'SafeMine.Common.UserInterface.DevExpressHelper' threw an exception. ---> System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]

at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x001ce] in <15a0cb57e55e40adb4c5afb4c7ddc9e9>:0

at System.Drawing.FontFamily..ctor (System.Drawing.Text.GenericFontFamilies genericFamily) [0x0004d] in <15a0cb57e55e40adb4c5afb4c7ddc9e9>:0

at (wrapper remoting-invoke-with-check) System.Drawing.FontFamily..ctor(System.Drawing.Text.GenericFontFamilies)

at System.Drawing.FontFamily.get_GenericSansSerif () [0x00000] in <15a0cb57e55e40adb4c5afb4c7ddc9e9>: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 <15a0cb57e55e40adb4c5afb4c7ddc9e9>: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 <15a0cb57e55e40adb4c5afb4c7ddc9e9>:0

at System.Drawing.Font..ctor (System.String familyName, System.Single emSize) [0x00000] in <15a0cb57e55e40adb4c5afb4c7ddc9e9>:0

at (wrapper remoting-invoke-with-check) System.Drawing.Font..ctor(string,single)

at SafeMine.Common.UserInterface.DevExpressHelper..cctor () [0x00039] in <206f1b6e12ee4ce48597ac1c20859a1d>:0

--- End of inner exception stack trace ---

我之前已经找过一些相关的解决提示,并且按照指引安装了微软核心字体包:

sudo apt install ttf-mscorefonts-installer

但安装完成后重新运行程序,还是会触发同样的字体找不到错误。有没有朋友遇到过类似的情况?或者有其他可行的解决思路可以分享吗?

备注:内容来源于stack exchange,提问作者Alex

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 10:05:28