User Tools

Site Tools


blog:install_fonts_on_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

blog:install_fonts_on_linux [2009-05-20 08:24] – created brbblog:install_fonts_on_linux [2009-06-14 09:52] (current) brb
Line 7: Line 7:
 After some googling I found out that OpenOffice in Linux needs an accompanying .afm file, and here's how to create the .afm file from the .pfb file: After some googling I found out that OpenOffice in Linux needs an accompanying .afm file, and here's how to create the .afm file from the .pfb file:
  
 +  * Install t1lib, a library for generating character- and string-glyphsfrom Adobe Type 1 fonts: sudo apt-get install t1lib-bin
 +  * Go to the directory where the .pfb file was installed, e.g.: cd ~/.fonts
 +  * Create the .afm file, e.g.: type1afm fontfile.pfb
  
-    * Install t1lib, a library for generating character- and string-glyphsfrom Adobe Type 1 fonts: sudo apt-get install t1lib-bin 
- 
-    * Go to the directory where the .pfb file was installed, e.g.: cd ~/.fonts 
- 
-    * Create the .afm file, e.g.: type1afm fontfile.pfb 
 Install to ./fonts or /usr/share/fonts/... Install to ./fonts or /usr/share/fonts/...
  
Line 18: Line 16:
  
 After installing new fonts, you will have to log out and log in again to be able to see and use the new fonts. If you want to avoid this, you can regenerate the fonts cache by issuing the following command: After installing new fonts, you will have to log out and log in again to be able to see and use the new fonts. If you want to avoid this, you can regenerate the fonts cache by issuing the following command:
-$sudo fc-cache -fv+   $sudo fc-cache -fv
  
 {{tag>linux ubuntu fonts}} {{tag>linux ubuntu fonts}}
blog/install_fonts_on_linux.1242800693.txt.gz · Last modified: 2009-05-20 08:24 by brb