Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

installing fonts in client machine

I'm building a website(PHP) with chinese fonts. The problem is most browsers doesn't have chinese fonts installed by default. I want the client machine to have this font installed to view the webpage.

How can I do this?

Edit:

I've partially solved the problem with this website : http://www.font2web.com/

it works in IE and FF but not in webkit browsers. Do i need to do some css hack for webkit browsers?

like image 974
jest Avatar asked Aug 03 '26 07:08

jest


2 Answers

Most computers today have unicode fonts installed, so as long as you're HTML is encoded for your target language, you should be OK.

like image 182
mkoistinen Avatar answered Aug 05 '26 21:08

mkoistinen


You say most browsers don't have Chinese fonts installed. I beg to differ -- I don't generally browse chinese sites, but when I have done (or when there have been Chinese comments in an English forum), I've always seen the Chinese characters. Same goes for other scripts such as Russian.

Maybe there's more to it than that, but that has been my experience ever since Windows XP, including Windows 7 and also various Linux desktops.

In any case, I would say it's even more likely that anyone who can read Chinese would have the appropriate fonts installed. And anyone who can't read chinese probably won't affected by not having them render properly.

like image 34
Spudley Avatar answered Aug 05 '26 21:08

Spudley



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!