chinese fonts

General support questions
Post Reply
www2
Posts: 7
Joined: 2017/12/04 22:15:47

chinese fonts

Post by www2 » 2017/12/04 22:22:09

I use centos 6.8 on server
I use php software to generate pdf from html
html has chinese letters
in ubuntu and centos7 chinese display ok (I didnt install any chinese packages), but in centos 6 not display
here is fonts

Code: Select all

* {
            font-family: Firefly Sung, DejaVu Sans, sans-serif;
        }
I try this command

Code: Select all

yum install dejavu-lgc-sans-mono-fonts  dejavu-sans-mono-fonts dejavu-lgc-fonts 
but not help
also I know this command

Code: Select all

yum groupinstall "Chinese Support" 
but it want install very many packages, why so many?
any ideas how to enable chinese fonts?

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: chinese fonts

Post by scottro » 2017/12/05 01:55:53

They tend to include everything they think you might need. You almost certainly don't have to install everything in the group. In CentOS-6x, for Japanese, I just installed ibus-anthy, dbus-x11 (I don't use Gnome, ibus needed it to work, and it wasn't included with the more minimal window managers I use), and some fonts.
New users should check the FAQ and Read Me First pages

www2
Posts: 7
Joined: 2017/12/04 22:15:47

Re: chinese fonts

Post by www2 » 2017/12/05 06:29:11

I installed ibus-anthy, dbus-x11 in virtualbox(install very many packages) but not help

www2
Posts: 7
Joined: 2017/12/04 22:15:47

Re: chinese fonts

Post by www2 » 2017/12/05 09:54:49

run

Code: Select all

yum groupinstall "Chinese Support" 
in virtualbox and not help

www2
Posts: 7
Joined: 2017/12/04 22:15:47

Re: chinese fonts

Post by www2 » 2017/12/12 07:50:50

any ideas?

Post Reply