葡萄酒和西里尔字体

时间:2015-10-27 21:43:16

标签: fonts wine cyrillic

在Linux Mint 17.2下运行Wine。程序的西里尔字母名称,菜单项名称,文本文件 - 都是不可读的。

确实存在一些例外情况。例如,我可以在CoDeSys IDE中看到西里尔文本,但我的所有键盘输入都是“????”在屏幕上。西里尔语的程序名称仍然很奇怪......

在俄罗斯网站上搜索过,但所有的收据都是这样的:“我已经尝试过了,这有帮助”。我设法使用的一些建议但无济于事。

一个例子。我在/var/lib/locales/supported.d/中添加了文件ru和ua并插入了

uk_UA.CP1251 CP1251

uk_UA.KOI8-R KOI8-R

ru_RU.CP1251 CP1251

ru_RU.KOI8-R KOI8-R

在本地文件中。然后执行locale-gen并重新启动。

另一种方法是编辑Wine注册表。我将Codepages = 1252,437更改为1251,866 - 但此更改未给出任何结果。更多的是,这些变化不会被记住 - 重新进入regedit会显示旧的Codepages。

是的,我添加了旧的Windows XP ttf字体 - 这是该问题的第一次尝试。

现在我不知所措。任何帮助,但最重要的是 - 了解Wine处理字体的方式。如果有可能是假人。

2 个答案:

答案 0 :(得分:5)

对于某些应用程序,设置正确的ansi代码页很重要,我确信经典的Delphi 5/6/7应用程序会受此影响。您所需要的只是相应地使用LANG设置它们。像这样:

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/swipe_refresh_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<RelativeLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_above="@+id/bottom"
    >

    <ListView
        android:id="@+id/listView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
</RelativeLayout>

<LinearLayout
    android:id="@+id/bottom"
    android:layout_width="match_parent"
    android:layout_height="50dp"
    android:orientation="horizontal"
    android:layout_alignParentBottom="true"
  ></LinearLayout>

当然,您需要在系统上安装此区域设置,通常在启用新区域设置数据后无需重新启动。

答案 1 :(得分:4)

在某些情况下(例如,如果您需要输入 Solo 应用程序),您可能需要:

  1. 重新配置您的语言环境

    sudo dpkg-reconfigure locales && sudo update-localelocales to be generated中,选择(使用空格键) ru_RU.CP1251 CP1251


  2. 使用

    运行

    LC_ALL =“ ru_RU.CP1251” wine“ /home/$USER/.wine/drive_c/Program Files / Solo / Solo.exe”


附言如果尚未安装corefonts,请安装

winetricks corefonts