【问题标题】:How to make snap notepad-plus-plus to support Chinese text?如何制作 snap notepad-plus-plus 以支持中文文本?
【发布时间】:2023-03-25 20:05:01
【问题描述】:

在 Ubuntu/Linux 中,我们可以通过 snap 安装 notepad-plus-plus。基本没问题,但是好像不能显示中文(乱码)。

真诚的,有人有解决方法吗?

【问题讨论】:

标签: ubuntu fonts notepad++ snapcraft


【解决方案1】:

我在韩语方面也遇到过同样的问题。 更简单的方法在这里。

  1. 查找 snap notepad-plus-plus 的默认字体。
$ gedit ~/snap/notepad-plus-plus/common/.wine/system.reg

"MS Shell Dlg"="Gulim"

  1. 将字体文件复制到 snap notepad-plus-plus wine 文件夹中。 (对我来说,它是 Gulim.ttc)
$ cp Gulim.ttc ~/snap/notepad-plus-plus/common/.wine/drive_c/windows/Fonts/
  1. 重新启动 snap notepad-plus-plus

【讨论】:

    【解决方案2】:

    sudo apt-get install fonts-wqy-zenhei

    【讨论】:

      猜你喜欢
      • 2019-03-26
      • 2017-01-04
      • 1970-01-01
      • 1970-01-01
      • 2015-03-12
      • 1970-01-01
      • 2015-06-25
      • 2023-04-02
      • 2022-01-08
      相关资源
      最近更新 更多