Changeset 51a70dfd


Ignore:
Timestamp:
05/02/2005 07:43:00 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
b136a6d
Parents:
2939bea
Message:

Tagged fontconfig.xml

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3944 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/graphlib/fontconfig.xml

    r2939bea r51a70dfd  
    55  %general-entities;
    66
    7 <!ENTITY fontconfig-download-http "http://fontconfig.org/release/fontconfig-&fontconfig-version;.tar.gz">
    8 <!-- <!ENTITY fontconfig-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/fontconfig-&fontconfig-version;.tar.gz"> -->
    9 <!ENTITY fontconfig-download-ftp " ">
    10 <!ENTITY fontconfig-md5sum "d5e42a27ad2f22bc5ec45f15533fc5d1">
    11 <!ENTITY fontconfig-size "962 KB">
    12 <!ENTITY fontconfig-buildsize "10.5 MB">
    13 <!ENTITY fontconfig-time "0.19 SBU">
     7  <!ENTITY fontconfig-download-http "http://fontconfig.org/release/fontconfig-&fontconfig-version;.tar.gz">
     8  <!-- <!ENTITY fontconfig-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/fontconfig-&fontconfig-version;.tar.gz"> -->
     9  <!ENTITY fontconfig-download-ftp " ">
     10  <!ENTITY fontconfig-md5sum "d5e42a27ad2f22bc5ec45f15533fc5d1">
     11  <!ENTITY fontconfig-size "962 KB">
     12  <!ENTITY fontconfig-buildsize "10.5 MB">
     13  <!ENTITY fontconfig-time "0.19 SBU">
    1414]>
    1515
    1616<sect1 id="fontconfig" xreflabel="Fontconfig-&fontconfig-version;">
    17 <sect1info>
    18 <othername>$LastChangedBy$</othername>
    19 <date>$Date$</date>
    20 </sect1info>
    21 <?dbhtml filename="fontconfig.html"?>
    22 <title>Fontconfig-&fontconfig-version;</title>
    23 <indexterm zone="fontconfig">
    24 <primary sortas="a-Fontconfig">Fontconfig</primary></indexterm>
    25 
    26 <sect2>
    27 <title>Introduction to <application>Fontconfig</application></title>
    28 
    29 <para>The <application>Fontconfig</application> package is a library
    30 for configuring and customizing font access.</para>
    31 
    32 <sect3><title>Package information</title>
    33 <itemizedlist spacing='compact'>
    34 <listitem><para>Download (HTTP): <ulink
    35 url="&fontconfig-download-http;"/></para></listitem>
    36 <listitem><para>Download (FTP): <ulink
    37 url="&fontconfig-download-ftp;"/></para></listitem>
    38 <listitem><para>Download MD5 sum: &fontconfig-md5sum;</para></listitem>
    39 <listitem><para>Download size: &fontconfig-size;</para></listitem>
    40 <listitem><para>Estimated disk space required:
    41 &fontconfig-buildsize;</para></listitem>
    42 <listitem><para>Estimated build time:
    43 &fontconfig-time;</para></listitem></itemizedlist>
    44 
    45 <note><para>The numbering system of <application>Fontconfig</application> is
    46 unusual. The beta versions of the package are numbered with a 9x in the last
    47 portion of the release number. This means that 2.3.90 is a beta release and
    48 the most current release is of the form 2.3.1</para></note>
    49 </sect3>
    50 
    51 <sect3><title><application>Fontconfig</application> dependencies</title>
    52 <sect4><title>Required</title>
    53 <para><xref linkend="freetype2"/> and <xref linkend="expat"/></para>
    54 </sect4>
    55 
    56 <sect4><title>Optional</title>
    57 <para><xref linkend="docbook-utils"/></para>
    58 
    59 <note><para>If you have <application>DocBook-utils</application> installed,
    60 you must also have <xref linkend="perl-modules"/>: SGMLSpm-1.03ii installed
    61 also, or the <application>Fontconfig</application> build will
    62 fail.</para></note>
    63 </sect4>
    64 </sect3>
    65 
    66 </sect2>
    67 
    68 <sect2>
    69 <title>Installation of <application>Fontconfig</application></title>
    70 
    71 <para>Install <application>Fontconfig</application> by running the following
    72 commands:</para>
    73 
    74 <screen><userinput><command>./configure --prefix=/usr \
     17  <?dbhtml filename="fontconfig.html"?>
     18 
     19  <sect1info>
     20    <othername>$LastChangedBy$</othername>
     21    <date>$Date$</date>
     22  </sect1info>
     23 
     24  <title>Fontconfig-&fontconfig-version;</title>
     25 
     26  <indexterm zone="fontconfig">
     27    <primary sortas="a-Fontconfig">Fontconfig</primary>
     28  </indexterm>
     29
     30  <sect2 role="package">
     31    <title>Introduction to Fontconfig</title>
     32   
     33    <para>The <application>Fontconfig</application> package is a library
     34    for configuring and customizing font access.</para>
     35   
     36    <bridgehead renderas="sect3">Package Information</bridgehead>
     37    <itemizedlist spacing="compact">
     38      <listitem>
     39        <para>Download (HTTP): <ulink url="&fontconfig-download-http;"/></para>
     40      </listitem>
     41      <listitem>
     42        <para>Download (FTP): <ulink url="&fontconfig-download-ftp;"/></para>
     43      </listitem>
     44      <listitem>
     45        <para>Download MD5 sum: &fontconfig-md5sum;</para>
     46      </listitem>
     47      <listitem>
     48        <para>Download size: &fontconfig-size;</para>
     49      </listitem>
     50      <listitem>
     51        <para>Estimated disk space required: &fontconfig-buildsize;</para>
     52      </listitem>
     53      <listitem>
     54        <para>Estimated build time: &fontconfig-time;</para>
     55      </listitem>
     56    </itemizedlist>
     57
     58    <note>
     59      <para>The numbering system of <application>Fontconfig</application> is
     60      unusual. The beta versions of the package are numbered with a 9x in the last
     61      portion of the release number. This means that 2.3.90 is a beta release and
     62      the most current release is of the form 2.3.1</para>
     63    </note>
     64   
     65    <bridgehead renderas="sect3">Fontconfig Dependencies</bridgehead>
     66   
     67    <bridgehead renderas="sect4">Required</bridgehead>
     68    <para><xref linkend="freetype2"/> and <xref linkend="expat"/></para>
     69   
     70    <bridgehead renderas="sect4">Optional</bridgehead>
     71    <para><xref linkend="docbook-utils"/></para>
     72
     73    <note>
     74      <para>If you have <application>DocBook-utils</application> installed,
     75      you must also have <xref linkend="perl-modules"/>: SGMLSpm-1.03ii installed
     76      also, or the <application>Fontconfig</application> build will fail.</para>
     77    </note>
     78   
     79  </sect2>
     80 
     81  <sect2 role="installation">
     82    <title>Installation of Fontconfig</title>
     83
     84    <para>Install <application>Fontconfig</application> by running the following
     85    commands:</para>
     86
     87<screen><userinput>./configure --prefix=/usr \
    7588    --sysconfdir=/etc --disable-docs &amp;&amp;
    76 make</command></userinput></screen>
    77 
    78 <para>To test the results, issue: <command>make check</command>.</para>
    79 
    80 <para>Now, as the root user:</para>
    81 
    82 <screen><userinput role='root'><command>make install</command></userinput></screen>
    83 </sect2>
    84 
    85 <sect2>
    86 <title>Command explanations</title>
    87 
    88 <para><option>--disable-docs</option>: This switch avoids building the
    89 documentation. If you wish to build the documentation using
    90 <application>DocBook-utils</application>, you may need to remove the
    91 <application>OpenSP</application> catalog definitions from the system
    92 <acronym>SGML</acronym> catalogs. Use the following command before building
    93 the package to accomplish this:</para>
    94 
    95 <screen><userinput><command>sed -i.orig \
     89make</userinput></screen>
     90   
     91    <para>To test the results, issue: <command>make check</command>.</para>
     92   
     93    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     94   
     95<screen role="root"><userinput>make install</userinput></screen>
     96   
     97  </sect2>
     98 
     99  <sect2 role="commands">
     100    <title>Command Explanations</title>
     101
     102    <para><parameter>--disable-docs</parameter>: This switch avoids building the
     103    documentation. If you wish to build the documentation using
     104    <application>DocBook-utils</application>, you may need to remove the
     105    <application>OpenSP</application> catalog definitions from the system
     106    <acronym>SGML</acronym> catalogs. Use the following command before building
     107    the package to accomplish this:</para>
     108
     109<screen role="root"><userinput>sed -i.orig \
    96110    -e "\%CATALOG /etc/sgml/OpenSP-1.5.1.cat%d" \
    97111    /etc/sgml/catalog \
    98     /etc/sgml/sgml-docbook.cat</command></userinput></screen>
    99 
    100 </sect2>
    101 
    102 <sect2>
    103 <title>Configuring <application>Fontconfig</application></title>
    104 
    105 <sect3 id="fontconfig-config"><title>Config files</title>
    106 <para><filename>/etc/fonts/* and /etc/fonts/conf.d/*</filename></para>
    107 <indexterm zone="fontconfig fontconfig-config">
    108 <primary sortas="e-etc-fonts">/etc/fonts/*</primary></indexterm>
    109 <indexterm zone="fontconfig fontconfig-config">
    110 <primary sortas="e-etc-fonts-conf.d">/etc/fonts/conf.d/*</primary></indexterm>
    111 </sect3>
    112 
    113 <sect3><title>Configuration Information</title>
    114 
    115 <para>The configuration file for <application>Fontconfig</application> is
    116 <filename>/etc/fonts/fonts.conf</filename>. Generally you do not want to edit
    117 this file. To put a new font directory in the configuration, create (or
    118 update) the <filename>/etc/fonts/local.conf</filename> file with your local
    119 information. The default location of fonts in
    120 <application>Fontconfig</application> is:
    121 </para>
    122 
    123 <itemizedlist spacing='compact'>
    124 <listitem><para>/usr/share/fonts</para></listitem>
    125 <listitem><para>~/.fonts</para></listitem>
    126 </itemizedlist>
    127 <indexterm zone="fontconfig fontconfig-config">
    128 <primary sortas="g-usr-share-fonts">/usr/share/fonts</primary></indexterm>
    129 <indexterm zone="fontconfig fontconfig-config">
    130 <primary sortas="g-AA.fonts">~/.fonts</primary></indexterm>
    131 
    132 <note><para><application>X</application> also includes an internal (and
    133 older) version of <application>Fontconfig</application> and unless it is
    134 explicitly disabled when building <application>Xorg</application> or
    135 <application>XFree86</application>, the internal version is created leaving
    136 two slightly incompatible libraries on your system. It is recommended that
    137 you only install one version.</para></note>
    138 </sect3>
    139 
    140 </sect2>
    141 
    142 <sect2>
    143 <title>Contents</title>
    144 
    145 <segmentedlist>
    146 <segtitle>Installed Programs</segtitle>
    147 <segtitle>Installed Library</segtitle>
    148 <segtitle>Installed Directories</segtitle>
    149 
    150 <seglistitem>
    151 <seg>fc-cache, fc-list and fc-match</seg>
    152 <seg>libfontconfig.[so,a]</seg>
    153 <seg>/etc/fonts and /usr/include/fontconfig</seg>
    154 </seglistitem>
    155 </segmentedlist>
    156 
    157 <variablelist>
    158 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    159 <?dbfo list-presentation="list"?>
    160 
    161 <varlistentry id="fc-cache">
    162 <term><command>fc-cache</command></term>
    163 <listitem><para>is used to create font information caches.</para>
    164 <indexterm zone="fontconfig fc-cache">
    165 <primary sortas="b-fc-cache">fc-cache</primary>
    166 </indexterm></listitem>
    167 </varlistentry>
    168 
    169 <varlistentry id="fc-list">
    170 <term><command>fc-list</command></term>
    171 <listitem><para>is used to create font lists.</para>
    172 <indexterm zone="fontconfig fc-list">
    173 <primary sortas="b-fc-list">fc-list</primary>
    174 </indexterm></listitem>
    175 </varlistentry>
    176 
    177 <varlistentry id="fc-match">
    178 <term><command>fc-match</command></term>
    179 <listitem><para>is used to match available fonts, or find fonts that match
    180 a given pattern.</para>
    181 <indexterm zone="fontconfig fc-match">
    182 <primary sortas="b-fc-match">fc-match</primary>
    183 </indexterm></listitem>
    184 </varlistentry>
    185 
    186 <varlistentry id="libfontconfig">
    187 <term><filename class='libraryfile'>libfontconfig.[so,a]</filename></term>
    188 <listitem><para>contains functions used by the
    189 <application>Fontconfig</application> programs and also by other programs to
    190 configure or customize font access.</para>
    191 <indexterm zone="fontconfig libfontconfig">
    192 <primary sortas="c-libfontconfig">libfontconfig.[so,a]</primary>
    193 </indexterm></listitem>
    194 </varlistentry>
    195 </variablelist>
    196 
    197 </sect2>
     112    /etc/sgml/sgml-docbook.cat</userinput></screen>
     113   
     114  </sect2>
     115 
     116  <sect2 role="configuration">
     117    <title>Configuring Fontconfig</title>
     118
     119    <sect3 id="fontconfig-config">
     120      <title>Config Files</title>
     121     
     122      <para><filename>/etc/fonts/* and /etc/fonts/conf.d/*</filename></para>
     123     
     124      <indexterm zone="fontconfig fontconfig-config">
     125        <primary sortas="e-etc-fonts">/etc/fonts/*</primary>
     126      </indexterm>
     127     
     128      <indexterm zone="fontconfig fontconfig-config">
     129        <primary sortas="e-etc-fonts-conf.d">/etc/fonts/conf.d/*</primary>
     130      </indexterm>
     131   
     132    </sect3>
     133
     134    <sect3>
     135      <title>Configuration Information</title>
     136     
     137      <para>The configuration file for <application>Fontconfig</application> is
     138      <filename>/etc/fonts/fonts.conf</filename>. Generally you do not want to edit
     139      this file. To put a new font directory in the configuration, create (or
     140      update) the <filename>/etc/fonts/local.conf</filename> file with your local
     141      information. The default location of fonts in
     142      <application>Fontconfig</application> is:</para>
     143     
     144      <itemizedlist spacing='compact'>
     145        <listitem>
     146          <para>/usr/share/fonts</para>
     147        </listitem>
     148        <listitem>
     149          <para>~/.fonts</para>
     150        </listitem>
     151      </itemizedlist>
     152     
     153      <indexterm zone="fontconfig fontconfig-config">
     154        <primary sortas="g-usr-share-fonts">/usr/share/fonts</primary>
     155      </indexterm>
     156     
     157      <indexterm zone="fontconfig fontconfig-config">
     158        <primary sortas="g-AA.fonts">~/.fonts</primary>
     159      </indexterm>
     160     
     161      <note>
     162        <para><application>X</application> also includes an internal (and
     163        older) version of <application>Fontconfig</application> and unless it is
     164        explicitly disabled when building <application>Xorg</application> or
     165        <application>XFree86</application>, the internal version is created leaving
     166        two slightly incompatible libraries on your system. It is recommended that
     167        you only install one version.</para>
     168      </note>
     169   
     170    </sect3>
     171   
     172  </sect2>
     173 
     174  <sect2 role="content">
     175    <title>Contents</title>
     176
     177    <segmentedlist>
     178      <segtitle>Installed Programs</segtitle>
     179      <segtitle>Installed Library</segtitle>
     180      <segtitle>Installed Directories</segtitle>
     181     
     182      <seglistitem>
     183        <seg>fc-cache, fc-list, and fc-match</seg>
     184        <seg>libfontconfig.[so,a]</seg>
     185        <seg>/etc/fonts and /usr/include/fontconfig</seg>
     186      </seglistitem>
     187    </segmentedlist>
     188   
     189    <variablelist>
     190      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     191      <?dbfo list-presentation="list"?>
     192      <?dbhtml list-presentation="table"?>
     193   
     194      <varlistentry id="fc-cache">
     195        <term><command>fc-cache</command></term>
     196        <listitem>
     197          <para>is used to create font information caches.</para>
     198          <indexterm zone="fontconfig fc-cache">
     199            <primary sortas="b-fc-cache">fc-cache</primary>
     200          </indexterm>
     201        </listitem>
     202      </varlistentry>
     203     
     204      <varlistentry id="fc-list">
     205        <term><command>fc-list</command></term>
     206        <listitem>
     207          <para>is used to create font lists.</para>
     208          <indexterm zone="fontconfig fc-list">
     209            <primary sortas="b-fc-list">fc-list</primary>
     210          </indexterm>
     211        </listitem>
     212      </varlistentry>
     213     
     214      <varlistentry id="fc-match">
     215        <term><command>fc-match</command></term>
     216        <listitem>
     217          <para>is used to match available fonts, or find fonts that match
     218          a given pattern.</para>
     219          <indexterm zone="fontconfig fc-match">
     220            <primary sortas="b-fc-match">fc-match</primary>
     221          </indexterm>
     222        </listitem>
     223      </varlistentry>
     224     
     225      <varlistentry id="libfontconfig">
     226        <term><filename class='libraryfile'>libfontconfig.[so,a]</filename></term>
     227        <listitem>
     228          <para>contains functions used by the
     229          <application>Fontconfig</application> programs and also by other
     230          programs to configure or customize font access.</para>
     231          <indexterm zone="fontconfig libfontconfig">
     232            <primary sortas="c-libfontconfig">libfontconfig.[so,a]</primary>
     233          </indexterm>
     234        </listitem>
     235      </varlistentry>
     236   
     237    </variablelist>
     238
     239  </sect2>
    198240
    199241</sect1>
Note: See TracChangeset for help on using the changeset viewer.