Penguin
Diff: OpenOfficeFonts
EditPageHistoryDiffInfoLikePages

Differences between version 4 and predecessor to the previous major change of OpenOfficeFonts.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 4 Last edited on Friday, April 13, 2007 8:48:43 pm by AristotlePagaltzis Revert
Older page: version 3 Last edited on Saturday, September 4, 2004 4:53:24 pm by AlastairPorter Revert
@@ -1,35 +1,36 @@
-Have some shiny new BitstreamVera fonts? Can't get them working in OpenOffice? Well then....  
+!! Installing new fonts 
  
-When loading OpenOffice looks for TrueType or Type1 Fonts in the following places:  
+''Note: I don’t know how useful the following is. <tt>chkfontpath</tt> appears to be a RedHat-ism, and is possibly obsolete as well.'' —[AristotlePagaltzis]  
  
-* The directory /usr/X11R6/lib/X11/ fonts/Type1  
-* The output of the command /usr/sbin/chkfontpath  
-* The fontpath as returned by XGetFontPath()  
-* Directories given by the environment variable SAL_FONTPATH_PRIVATE, usually this variable is set by the soffice script to "openoffice_dir"/share/fonts/truetype  
+When loading, [OpenOffice.org] looks for TrueType or Type1 fonts in the following places:  
  
-This method uses the output of chkfontpath.  
-As root:  
- # mkfontdir /usr/share /fonts/bitstream-vera /  
-This creates a fonts.dir file in your BitstreamVera fonts directory.  
- # chkfontpath -a /usr /share/fonts/bitstream-vera /  
-This adds the directory to the chkfontpath list  
+* In <tt> /usr/X11R6/lib/X11 /fonts/Type1< /tt>  
+* In the output of the command <tt> chkfontpath< /tt>  
+* In the fontpath as returned by <tt>XGetFontPath()< /tt>  
+* In the directories listed in the EnvironmentVariable <tt>SAL_FONTPATH_PRIVATE</tt>, which is usually set to <tt> share/fonts/truetype< /tt> below the installation path of [OpenOffice.org] by the <tt>soffice</tt> launcher  
  
-Now retstart OpenOffice and look at your pretty new fonts :-)%%%  
-You may like to change the default font under Tools > Options > Text Document > Basic Fonts
+This method to install fonts hooks into the output of <tt >chkfontpath</tt >. We’ll assume you have copied a font family called ''Foob Ar'' into <tt >/usr/share/fonts/foobar/</tt>. The following commands have to be issued as root
  
-Most of this information was sourced from the [OpenOffice Font FAQ|http: //www.openoffice.org /FAQs /fontguide.html] which has some interesting information regarding a whole lot of font problems with OpenOffice.  
+ <verbatim>  
+ mkfontdir /usr /share /fonts /foobar  
+ chkfontpath - a /usr/share/fonts/foobar/  
+ </verbatim>  
  
+This creates a <tt>fonts.dir</tt> file in your font family directory, then adds the directory to <tt>chkfontpath</tt>’s list. Now retstart [OpenOffice.org] and your pretty new fonts should be available. You may like to change the default font under <i>Tools → Options → Text Document → Basic Fonts</i>.  
  
-__Using Windows fonts from a mount point __ 
+__See also __ the [OpenOffice.org Font FAQ | http://www.openoffice.org/FAQs/fontguide.html.  
  
-If you're trying to include your windows TTF fonts that are in your your c:\windows\fonts folder then you may need to create a truetype font folder on a linux filesystem which has symlinks to all the fonts on your VFAT or NTFS partition.  
-Eg:  
+! Using Windows fonts from a mount point  
  
- cd /usr/share/fonts  
- mkdir truetype  
- cd truetype  
- ln -s /mnt/win_c/windows/fonts/ *.ttf . 
+To include the TrueType fonts from your MicrosoftWindows installation you need to create a font directory with SymLink~s to all the fonts on your Windows partition. Assuming the fonts are in <tt>C:\windows\fonts</tt> and the C: partition of Windows is mounted on <tt>/mnt/win_c</tt> in [Linux], you have to do the following (as root):''''  
+  
+ <verbatim>  
+ mkdir /usr/share/fonts/winfonts  
+ cd /mnt/win_c/windows/fonts  
+ ln -s *.ttf * .TTF /usr/share/fonts/winfonts  
+ cd /usr/share/fonts/winfonts  
  ttmkfdir 
  mkfontdir 
- chkfontpath -a /usr/share/fonts/truetype  
+ chkfontpath -a /usr/share/fonts/winfonts  
  fc-cache 
+ </verbatim>