Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Rozwiązane Problemy z czcionkami Wine
#1
0
Dzień dobry,

Wiele aplikacji uruchamianych poprzez Wine ma u mnie problemy z czcionką, np. w grze CS 1.6 nonsteam czcionki nie wyświetlają się wcale, a w programie LTEWatch wyskakuje następujący błąd:
Kod:
~/Downloads/LTEWatch$ wine64 LTEWatch.exe
005c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
005c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0064:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0064:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00bc:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00bc:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0024:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 000000000021DAE0, 000000000006A800, 000000000021DAE8, 000000000021DAD8
0024:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 000000000021DAE0, 000000000006A800, 000000000021DAE8, 000000000021DAD8
0024:fixme:font:get_nearest_charset TCI failing on 20000000
0024:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 20000000 file = L"Z:\\usr\\share\\fonts\\truetype\\fonts-gujr-extra\\aakar-medium.ttf"
0024:fixme:font:find_matching_face Untranslated charset 255
0024:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 00000000 file = L"Z:\\usr\\share\\fonts\\truetype\\fonts-beng-extra\\Ani.ttf"
0024:fixme:font:find_matching_face Untranslated charset 255
0024:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 00000000 file = L"Z:\\usr\\share\\fonts\\truetype\\malayalam\\Dyuthi-Regular.ttf"
0024:fixme:font:find_matching_face Untranslated charset 255
0024:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 00000000 file = L"Z:\\usr\\share\\fonts\\truetype\\Gargi\\Gargi.ttf"
0024:fixme:font:find_matching_face Untranslated charset 255
0024:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 00000000 file = L"Z:\\usr\\share\\fonts\\truetype\\Gubbi\\Gubbi.ttf"
0024:fixme:font:find_matching_face Untranslated charset 255
0024:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 00000000 file = L"Z:\\usr\\share\\fonts\\truetype\\fonts-deva-extra\\kalimati.ttf"
0024:fixme:font:find_matching_face Untranslated charset 255
0024:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 00000000 file = L"Z:\\usr\\share\\fonts\\truetype\\Navilu\\Navilu.ttf"
0024:fixme:font:find_matching_face Untranslated charset 255
0024:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 00000000 file = L"Z:\\usr\\share\\fonts\\truetype\\fonts-telu-extra\\Pothana2000.ttf"
0024:fixme:font:find_matching_face Untranslated charset 255
0024:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 00000000 file = L"Z:\\usr\\share\\fonts\\truetype\\fonts-gujr-extra\\Rekha.ttf"
0024:fixme:font:find_matching_face Untranslated charset 255
0024:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 00000000 file = L"Z:\\usr\\share\\fonts\\truetype\\fonts-deva-extra\\samanata.ttf"
0024:fixme:font:find_matching_face Untranslated charset 255
0024:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 00000000 file = L"Z:\\usr\\share\\fonts\\truetype\\fonts-telu-extra\\vemana2000.ttf"

Unhandled Exception:
System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
  at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x001ce] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
  at System.Drawing.FontFamily..ctor (System.Drawing.Text.GenericFontFamilies genericFamily) [0x0004d] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
  at (wrapper remoting-invoke-with-check) System.Drawing.FontFamily..ctor(System.Drawing.Text.GenericFontFamilies)
  at System.Drawing.FontFamily.get_GenericSansSerif () [0x00000] in <cf01cf071e764982a0f6bb8c6f5517e3>: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 <cf01cf071e764982a0f6bb8c6f5517e3>: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 <cf01cf071e764982a0f6bb8c6f5517e3>:0
  at System.Drawing.Font..ctor (System.String familyName, System.Single emSize, System.String systemName) [0x00000] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
  at (wrapper remoting-invoke-with-check) System.Drawing.Font..ctor(string,single,string)
  at System.Drawing.SystemFonts.get_DefaultFont () [0x00000] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
  at System.Windows.Forms.Control.get_DefaultFont () [0x0000e] in <e0259ba767c84223aed6e194cfadaa13>:0
  at System.Windows.Forms.Control.GetDefaultFontHandleWrapper () [0x0000e] in <e0259ba767c84223aed6e194cfadaa13>:0
  at System.Windows.Forms.Control.get_FontHandle () [0x00149] in <e0259ba767c84223aed6e194cfadaa13>:0
  at System.Windows.Forms.ContainerControl.GetFontAutoScaleDimensions () [0x00032] in <e0259ba767c84223aed6e194cfadaa13>:0
  at System.Windows.Forms.ContainerControl.get_CurrentAutoScaleDimensions () [0x00026] in <e0259ba767c84223aed6e194cfadaa13>:0
  at System.Windows.Forms.ContainerControl.get_AutoScaleFactor () [0x00001] in <e0259ba767c84223aed6e194cfadaa13>:0
  at System.Windows.Forms.ContainerControl.PerformAutoScale (System.Boolean includedBounds, System.Boolean excludedBounds) [0x0003d] in <e0259ba767c84223aed6e194cfadaa13>:0
  at System.Windows.Forms.ContainerControl.PerformNeededAutoScaleOnLayout () [0x00027] in <e0259ba767c84223aed6e194cfadaa13>:0
  at System.Windows.Forms.ContainerControl.OnLayoutResuming (System.Boolean performLayout) [0x00001] in <e0259ba767c84223aed6e194cfadaa13>:0
  at System.Windows.Forms.Control.ResumeLayout (System.Boolean performLayout) [0x0002f] in <e0259ba767c84223aed6e194cfadaa13>:0
  at FritzNet.FormSplash.InitializeComponent () [0x00070] in <192bf9edbdc343649726eb83679180ca>:0
  at FritzNet.FormSplash..ctor () [0x0001c] in <192bf9edbdc343649726eb83679180ca>:0
  at (wrapper remoting-invoke-with-check) FritzNet.FormSplash..ctor()
  at FritzNet.Program.Main () [0x0005f] in <192bf9edbdc343649726eb83679180ca>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
  at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x001ce] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
  at System.Drawing.FontFamily..ctor (System.Drawing.Text.GenericFontFamilies genericFamily) [0x0004d] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
  at (wrapper remoting-invoke-with-check) System.Drawing.FontFamily..ctor(System.Drawing.Text.GenericFontFamilies)
  at System.Drawing.FontFamily.get_GenericSansSerif () [0x00000] in <cf01cf071e764982a0f6bb8c6f5517e3>: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 <cf01cf071e764982a0f6bb8c6f5517e3>: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 <cf01cf071e764982a0f6bb8c6f5517e3>:0
  at System.Drawing.Font..ctor (System.String familyName, System.Single emSize, System.String systemName) [0x00000] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
  at (wrapper remoting-invoke-with-check) System.Drawing.Font..ctor(string,single,string)
  at System.Drawing.SystemFonts.get_DefaultFont () [0x00000] in <cf01cf071e764982a0f6bb8c6f5517e3>:0
  at System.Windows.Forms.Control.get_DefaultFont () [0x0000e] in <e0259ba767c84223aed6e194cfadaa13>:0
  at System.Windows.Forms.Control.GetDefaultFontHandleWrapper () [0x0000e] in <e0259ba767c84223aed6e194cfadaa13>:0
  at System.Windows.Forms.Control.get_FontHandle () [0x00149] in <e0259ba767c84223aed6e194cfadaa13>:0
  at System.Windows.Forms.ContainerControl.GetFontAutoScaleDimensions () [0x00032] in <e0259ba767c84223aed6e194cfadaa13>:0
  at System.Windows.Forms.ContainerControl.get_CurrentAutoScaleDimensions () [0x00026] in <e0259ba767c84223aed6e194cfadaa13>:0
  at System.Windows.Forms.ContainerControl.get_AutoScaleFactor () [0x00001] in <e0259ba767c84223aed6e194cfadaa13>:0
  at System.Windows.Forms.ContainerControl.PerformAutoScale (System.Boolean includedBounds, System.Boolean excludedBounds) [0x0003d] in <e0259ba767c84223aed6e194cfadaa13>:0
  at System.Windows.Forms.ContainerControl.PerformNeededAutoScaleOnLayout () [0x00027] in <e0259ba767c84223aed6e194cfadaa13>:0
  at System.Windows.Forms.ContainerControl.OnLayoutResuming (System.Boolean performLayout) [0x00001] in <e0259ba767c84223aed6e194cfadaa13>:0
  at System.Windows.Forms.Control.ResumeLayout (System.Boolean performLayout) [0x0002f] in <e0259ba767c84223aed6e194cfadaa13>:0
  at FritzNet.FormSplash.InitializeComponent () [0x00070] in <192bf9edbdc343649726eb83679180ca>:0
  at FritzNet.FormSplash..ctor () [0x0001c] in <192bf9edbdc343649726eb83679180ca>:0
  at (wrapper remoting-invoke-with-check) FritzNet.FormSplash..ctor()

Doinstalowałem pakiet ttf-mscorefonts ale to nie pomogło, powyższy błąd nadal się pojawia.
Czy ktoś ma pomysł na rozwiązanie?
#2
1
Better response on post RE: Problemy z czcionkami Wine
Kod:
sudo apt-get install winetricks

uruchomić:
Kod:
winetricks

i wybrać opcje Install a font

i doinstalować np. Arial
[Obrazek: userbar.png]
Prowadzę to forum od roku 2007. Przez ten czas projekt minta bardzo negatywnie się zmienił, stąd mogą w moich postach być opinie z którymi można się nie zgadzać.
#3
0
Ok, problem rozwiązany. CS potrzebuje czcionek Arial, Tahoma i Verdana, u mnie brakowało Tahomy. Teraz wszystko działa, dziękuję za pomoc Smile
#4
0
Oznaczam wątek jako rozwiązany.
Zamykam wątek.


Skocz do:




Użytkownicy przeglądający ten wątek: 1 gości