Wednesday, 27 March 2013

How to Install fonts on openSUSE 12.3, GNOME 3.6 ?

 If you are surfing websites with a lot of regional language content, it is likely that they use non English or other language fonts. Typically all the text in these websites appear haphazard, illegible and look like ugly boxes. I don't have the relevant fonts for viewing disapprovallook and i see all the text in the webpage appear like boxes.
Incorrect Fonts
  Usually, sites which host non-English content provide links to the fonts they use. To fix content in disapprovallook, I downloaded the relevant fonts from the website and then extracted the zip file using file roller to get the font file. Font files usually end with name/extension  (.ttf). To install the font i use command launcher(Alt+F2) and open the "~/.fonts" folder in my home directory.
Alt+F2 Open ~/.fonts Folder
 Now i copy(ctrl+c) and paste(ctrl+v) the font (*.ttf) file into the fonts folder.
fonts folder with font file
 Then I refresh the website again to see the text in correct font. Sometimes, we may need to restart the browser for the changes to take effect. Now i can see the text in correct format as shown below.
Corrected Font
Alternative Install using Zypper
 The above installation procedure is generic one and applies to many Linux desktops. Alternatively, if you have already configured the community repositories on your openSUSE machine then you can open terminal through command launcher using the command "gnome-terminal" and then run a search for font packages available for install using zypper.
$zypper se *font* | less
And then install the relevant fonts using a command similar to
$sudo -u root zypper in chinese*font*

No comments:

Post a Comment