docker-wechat icon indicating copy to clipboard operation
docker-wechat copied to clipboard

unclear fonts in debian buster

Open ziyouchutuwenwu opened this issue 5 years ago • 7 comments

avatar

avatar

my fonts info

apt search fonts-wqy
正在排序... 完成
全文搜索... 完成  
fonts-wqy-microhei/stable,now 0.2.0-beta-3 all [已安装]
  Sans-serif style CJK font derived from Droid

fonts-wqy-zenhei/stable,now 0.9.45-7 all [已安装]
  "WenQuanYi Zen Hei" A Hei-Ti Style (sans-serif) Chinese font

xfonts-wqy/stable,now 1.0.0~rc1-6 all [已安装]
  WenQuanYi Bitmap Song CJK font for X

os info:

mmc@debian ~ $ screenfetch
         _,met$$$$$gg.           xxx@debian
      ,g$$$$$$$$$$$$$$$P.        OS: Debian 10 buster
    ,g$$P""       """Y$$.".      Kernel: x86_64 Linux 4.19.0-8-amd64
   ,$$P'              `$$$.      Uptime: 1h 15m
  ',$$P       ,ggs.     `$$b:    Packages: 1672
  `d$$'     ,$P"'   .    $$$     Shell: zsh 5.7.1
   $$P      d$'     ,    $$P     Resolution: 1366x768
   $$:      $$.   -    ,d$$'     DE: XFCE
   $$\;      Y$b._   _,d$P'      WM: Xfwm4
   Y$$.    `.`"Y$$$$P"'          WM Theme: JacWin10
   `$$b      "-.__               GTK Theme: Windows10 [GTK2]
    `Y$$                         Icon Theme: Faenza
     `Y$$.                       Font: 文泉驿等宽微米黑 10
       `$$b.                     CPU: Intel Core i5-3320M @ 4x 3.3GHz [54.0°C]
         `Y$$b.                  GPU: intel
            `"Y$b._              RAM: 5093MiB / 15741MiB
                `""""           

ziyouchutuwenwu avatar Feb 25 '20 00:02 ziyouchutuwenwu

I did not use Debian but some friends of mine said that they have the same problem as yours.

Ubuntu desktop seems that solves this problem very well, so I hope someone can figure it out so that I'll be very happy to add a fix for it.

huan avatar Feb 25 '20 02:02 huan

archlinux has the same issue 2020-02-27_17-46

ystyle avatar Feb 27 '20 09:02 ystyle

It may be caused by the system-level font configuration. I use Debian 10 and meet the same problem. I fix the problem with the following steps:

  1. Check the installation of Droid Sans Fallback with the command fc-list | grep Droid Droid Sans Fallback is the default CJK font of Android.
  2. Make Droid Sans Fallback as the default fallback font for sans-serif with the command sudo ln -s /etc/fonts/conf.avail/65-droid-sans-fallback.conf /etc/fonts/conf.d/

Restart the WeChat.

wangzk avatar Feb 27 '20 13:02 wangzk

i did the same, but seems to be not working. not clear with dpi 96...

ziyouchutuwenwu avatar Feb 27 '20 14:02 ziyouchutuwenwu

I found this registry file and please let me know if it works for anyone.

https://gist.github.com/swordfeng/c3fd6b6fcf6dc7d7fa8a

Wine related issues:

  1. wine#30788 - WeChat fonts problem.

huan avatar Mar 01 '20 00:03 huan

I found this registry file and please let me know if it works for anyone.

https://gist.github.com/swordfeng/c3fd6b6fcf6dc7d7fa8a

Wine related issues:

1. [wine#30788 - WeChat fonts problem.](https://forum.winehq.org/viewtopic.php?t=30788)

I am using Pop!_OS and encounter the same issue. How can we use the wine registry file with docker? Thanks!

Xiuyu-Li avatar Mar 21 '20 04:03 Xiuyu-Li

@lxywizard It's a good question about how can we use the wine registry file with docker.

It desires a Tutorial/Guide in our Wiki Page to make it easy for our users to debug and play with DoChat.

I'm afraid that I have no time to write it recently, so it would be great if there's anyone who can write it for the community.

huan avatar Mar 21 '20 04:03 huan