home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / gimp / 2.0 / help / en / gimp-using-fonts.html < prev    next >
Encoding:
Extensible Markup Language  |  2008-05-03  |  9.3 KB  |  211 lines

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.   <head>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6.     <title>5.2.¬† Adding Fonts</title>
  7.     <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
  8.     <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
  9.     <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
  10.     <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
  11.     <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
  12.     <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
  13.     <link rel="up" href="gimp-using-text.html" title="5.¬† Text" />
  14.     <link rel="prev" href="gimp-using-text.html" title="5.¬† Text" />
  15.     <link rel="next" href="font-problems.html" title="5.3.¬† Font Problems" />
  16.   </head>
  17.   <body>
  18.     <div class="navheader">
  19.       <table width="100%" summary="Navigation header">
  20.         <tr>
  21.           <th colspan="3" align="center">5.2.¬†
  22.       <span lang="en" xml:lang="en">Adding Fonts</span>
  23.     </th>
  24.         </tr>
  25.         <tr>
  26.           <td width="20%" align="left"><a accesskey="p" href="gimp-using-text.html"><img src="../images/prev.png" alt="Prev" /></a>¬†</td>
  27.           <th width="60%" align="center">5.¬†
  28.     <span lang="en" xml:lang="en">Text</span>
  29.   </th>
  30.           <td width="20%" align="right">¬†<a accesskey="n" href="font-problems.html"><img src="../images/next.png" alt="Next" /></a></td>
  31.         </tr>
  32.       </table>
  33.       <hr />
  34.     </div>
  35.     <div class="sect2" lang="en" xml:lang="en">
  36.       <div class="titlepage">
  37.         <div>
  38.           <div>
  39.             <h3 class="title"><a id="gimp-using-fonts"></a>5.2.¬†
  40.       <span lang="en" xml:lang="en">Adding Fonts</span>
  41.     </h3>
  42.           </div>
  43.         </div>
  44.       </div>
  45.       <a id="id2604129" class="indexterm"></a>
  46.       <a id="id2604142" class="indexterm"></a>
  47.       <p>
  48.       For the most authoritative and up-to-date information on fonts
  49.       in GIMP, consult the ‚Äú<span class="quote">Fonts in GIMP 2.0</span>‚Äù page
  50.       <a class="xref" href="bibliography.html#bibliography-online-gimp-fonts" title="Fonts in GIMP 2.0">[<abbr class="abbrev">GIMP-FONTS</abbr>]</a>
  51.       at the GIMP web site. This section attempts to give you a
  52.       helpful overview.
  53.     </p>
  54.       <p>
  55.       GIMP uses the FreeType 2 font engine to render fonts, and a system
  56.       called Fontconfig to manage them. GIMP will let you use any font in
  57.       Fontconfig's font path; it will also let you use any font it finds in
  58.       GIMP's font search path, which is set on the
  59.       <a class="link" href="gimp-pimping.html#gimp-prefs-folders-data" title="1.19.¬† Data Folders">Font Folders</a>
  60.       page of the Preferences dialog. By default, the font search path
  61.       includes a system GIMP-fonts folder (which you should not alter, even
  62.       though it is actually empty), and a <code class="filename">fonts</code>
  63.       folder inside your personal GIMP directory. You can add new folders to
  64.       the font search path if it is more convenient for you.
  65.     </p>
  66.       <p>
  67.       FreeType 2 is a very powerful and flexible system. By default, it
  68.       supports the following font file formats:
  69.     </p>
  70.       <div class="itemizedlist">
  71.         <ul type="disc">
  72.           <li>
  73.             <p>TrueType fonts (and collections)</p>
  74.           </li>
  75.           <li>
  76.             <p>Type 1 fonts</p>
  77.           </li>
  78.           <li>
  79.             <p>CID-keyed Type 1 fonts</p>
  80.           </li>
  81.           <li>
  82.             <p>CFF fonts</p>
  83.           </li>
  84.           <li>
  85.             <p>OpenType fonts (both TrueType and CFF variants)</p>
  86.           </li>
  87.           <li>
  88.             <p>SFNT-based bitmap fonts</p>
  89.           </li>
  90.           <li>
  91.             <p>X11 PCF fonts</p>
  92.           </li>
  93.           <li>
  94.             <p>Windows FNT fonts</p>
  95.           </li>
  96.           <li>
  97.             <p>BDF fonts (including anti-aliased ones)</p>
  98.           </li>
  99.           <li>
  100.             <p>PFR fonts</p>
  101.           </li>
  102.           <li>
  103.             <p>Type42 fonts (limited support)</p>
  104.           </li>
  105.         </ul>
  106.       </div>
  107.       <p>
  108.       You can also add modules to support other types of font files. See
  109.       FREETYPE 2 <a class="xref" href="bibliography.html#bibliography-online-freetype" title="Freetype 2 home page">[<abbr class="abbrev">FREETYPE</abbr>]</a> for more
  110.       information.
  111.     </p>
  112.       <p><b>Linux.¬†</b>
  113.         On a Linux system, if the Fontconfig utility is set up as usual, all
  114.         you need to do to add a new font is to place the file in the directory
  115.         <code class="filename">~/.fonts</code>.
  116.         This will make the font available not only to GIMP, but to any other
  117.         program that uses Fontconfig. If for some reason you want the font to
  118.         be available to GIMP only, you can place it in the
  119.         <code class="filename">fonts</code>
  120.         sub-directory of your personal GIMP directory, or some other location
  121.         in your font search path. Doing either will cause the font to show up
  122.         the next time you start GIMP. If you want to use it in an already
  123.         running GIMP, press the <span class="emphasis"><em>Refresh</em></span>
  124.         button in the <a class="link" href="gimp-font-dialog.html" title="3.6.¬† Fonts Dialog">Fonts dialog</a>.
  125.       </p>
  126.       <p><b>Windows.¬†</b>
  127.         The easiest way to install a font is to drag the file onto the
  128.         Fonts directory and let the shell do its magic.  Unless you've done
  129.         something creative, it's probably in its default location of
  130.         <code class="filename">C:\windows\fonts</code> or
  131.         <code class="filename">C:\winnt\fonts</code>.  Sometimes double-clicking on
  132.         a font will install it as well as display it; sometimes it only
  133.         displays it.  This method will make the font available not only to
  134.         GIMP, but also to other Windows applications.
  135.       </p>
  136.       <p>
  137.       To install a Type 1 file, you need both the
  138.       <code class="filename">.pfb</code> and <code class="filename">.pfm</code>
  139.       files. Drag the one that gets an icon into the fonts folder.
  140.       The other one doesn't strictly need to be in the same directory
  141.       when you drag the file, since it uses some kind of search
  142.       algorithm to find it if it's not, but in any case putting it in
  143.       the same directory does no harm.
  144.     </p>
  145.       <p>
  146.       In principle, GIMP can use any type of font on Windows that FreeType can
  147.       handle; however, for fonts that Windows can't handle natively, you
  148.       should install them by placing the font files in the
  149.       <code class="filename">fonts</code>
  150.       folder of your personal GIMP directory, or some other location in your
  151.       font search path. The support Windows has varies by version. All that
  152.       GIMP runs on support at least TrueType, Windows FON, and Windows FNT.
  153.       Windows 2000 and later support Type 1 and OpenType. Windows ME supports
  154.       OpenType and possibly Type 1 (but the most widely used Windows GIMP
  155.       installer does not officially support Windows ME, although it may work
  156.       anyway).
  157.     </p>
  158.       <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
  159.         <table border="0" summary="Note">
  160.           <tr>
  161.             <td rowspan="2" align="center" valign="top" width="25">
  162.               <img alt="[Note]" src="../images/note.png" />
  163.             </td>
  164.             <th align="left">Note</th>
  165.           </tr>
  166.           <tr>
  167.             <td align="left" valign="top">
  168.               <p>
  169.         GIMP uses Fontconfig to manage fonts on Windows as well as Linux. The
  170.         instructions above work because Fontconfig by default uses the Windows
  171.         fonts directory, i. e., the same fonts that Windows uses itself. If
  172.         for some reason your Fontconfig is set up differently, you will have
  173.         to figure out where to put fonts so that GIMP can find them: in any
  174.         case, the <code class="filename">fonts</code>
  175.         folder of your personal GIMP directory should work.
  176.       </p>
  177.             </td>
  178.           </tr>
  179.         </table>
  180.       </div>
  181.     </div>
  182.     <div class="navfooter">
  183.       <hr />
  184.       <table width="100%" summary="Navigation footer">
  185.         <tr>
  186.           <td width="40%" align="left"><a accesskey="p" href="gimp-using-text.html"><img src="../images/prev.png" alt="Prev" /></a>¬†</td>
  187.           <td width="20%" align="center">
  188.             <a accesskey="u" href="gimp-using-text.html">
  189.               <img src="../images/up.png" alt="Up" />
  190.             </a>
  191.           </td>
  192.           <td width="40%" align="right">¬†<a accesskey="n" href="font-problems.html"><img src="../images/next.png" alt="Next" /></a></td>
  193.         </tr>
  194.         <tr>
  195.           <td width="40%" align="left" valign="top"><a accesskey="p" href="gimp-using-text.html">5.¬†
  196.     <span lang="en" xml:lang="en">Text</span>
  197.   </a>¬†</td>
  198.           <td width="20%" align="center">
  199.             <a accesskey="h" href="index.html">
  200.               <img src="../images/home.png" alt="Home" />
  201.             </a>
  202.           </td>
  203.           <td width="40%" align="right" valign="top">¬†<a accesskey="n" href="font-problems.html">5.3.¬†
  204.       <span lang="en" xml:lang="en">Font Problems</span>
  205.     </a></td>
  206.         </tr>
  207.       </table>
  208.     </div>
  209.   </body>
  210. </html>
  211.