Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to use Wenquanyi for Chinese and Palatino for English in Firefox.

How can I do this?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

First of all, make sure you have installed the required fonts properly. You can install fonts by following steps:

  1. Open Home folder,
  2. Select View->Show Hidden Files
  3. Create a new folder and name it as .fonts
  4. Open .fonts folder and copy font files here

Now selecting fonts in Firefox:

  1. Open Firefox->Edit->Preferences->Content (tab),
  2. Under Fonts & Colors click Advanced,
  3. In Fonts for list-box select Chinese language,
  4. Select Wenquanyi font in Serif, Sans-Serif and Monospace list-boxes,
  5. Now repeat step 3, this time select Western for English,
  6. Then repeat step 4 with Palatino font for English.

You can also uncheck Allow pages to choose their own fonts, instead of my selections above check-box.

Also try by changing Character Encoding, unless Western (ISO-8859-1) (which is default) or Unicode (UTF-8) does work.

share|improve this answer
    
On my system , Setting in Western for English does not work. Settings in Chinese language controls this . Thanks –  waterloo2005 Feb 7 '12 at 17:57
    
Does this matter with locale ? Now my locale is zh_CN.UTF-8 . –  waterloo2005 Feb 7 '12 at 18:04
    
Method Krishnan said works only on some sites . Thanks –  waterloo2005 Feb 9 '12 at 7:58
    
@waterloo2005 well, it worked out in some sites. have you tried by unchecking Allow pages to choose... ? And I have find out one more thing. Open Preferences-> Content (tab), under Languages click Choose. Here add more languages in which you want to display web pages. –  user45315 Feb 9 '12 at 9:53
    
I have unchecked 'Allow pages to choose... '. In language setting , I choose 'zh-cn,zh,en-us,en' . In askubuntu site , it display English using chinese font setting . In wikipedia ,it display English using beautiful Palatino font . Of course , I want to display English using Palatino. –  waterloo2005 Feb 9 '12 at 13:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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