2

I have installed these packages:

apt-get install xvfb xfonts-base xfonts-75dpi xfonts-100dpi firefox

But in my Firefox in Xvfb on Ubuntu Server, the Chinese characters look like:

screenshot

How to install proper fonts for my Xvfb?

EDIT: I have also installed xfonts-intl-chinese but it doesn't help.

2

Solved!

You need xfonts-wqy as well. (it's a open-source Chinese font)

sudo apt-get install xfonts-wqy

enter image description here

| improve this answer | |
0

On a Ubuntu server installation, I installed a bunch of font packages to solve my problem. It is the complete list, I do not know which one really fixed it, but xfonts-wqy did not only fix it for some use-cases on my system.

fonts-dejavu-core
fonts-dejavu-extra
fonts-droid-fallback
fonts-guru
fonts-guru-extra
fonts-horai-umefont
fonts-kacst
fonts-kacst-one
fonts-khmeros-core
fonts-lao
fonts-liberation
fonts-lklug-sinhala
fonts-lohit-guru
fonts-nanum
fonts-noto-cjk
fonts-opensymbol
fonts-roboto
fonts-roboto-hinted
fonts-sil-abyssinica
fonts-sil-padauk
fonts-stix
fonts-symbola
fonts-takao-pgothic
fonts-thai-tlwg
fonts-tibetan-machine
fonts-tlwg-garuda
fonts-tlwg-kinnari
fonts-tlwg-laksaman
fonts-tlwg-loma
fonts-tlwg-mono
fonts-tlwg-norasi
fonts-tlwg-purisa
fonts-tlwg-sawasdee
fonts-tlwg-typewriter
fonts-tlwg-typist
fonts-tlwg-typo
fonts-tlwg-umpush
fonts-tlwg-waree
fonts-unfonts-core
fonts-wqy-microhe
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.