Ignore:
Timestamp:
03/21/2020 11:02:56 AM (21 months ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, ken/refactor-virt, lazarus, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
baac59c
Parents:
bdfc854
Message:

Format the x/installing chapter

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/x7font.xml

    rbdfc854 r71df408  
    5757    <title>Introduction to Xorg Fonts</title>
    5858
    59     <para>The <application>Xorg</application> font packages provide some
    60     scalable fonts and supporting packages for <application>Xorg</application>
    61     applications. Many people will want to install other TTF or OTF fonts in
    62     addition to, or instead of, these. Some are listed at <xref
    63     linkend="TTF-and-OTF-fonts"/>.</para>
     59    <para>
     60      The <application>Xorg</application> font packages provide some scalable
     61      fonts and supporting packages for <application>Xorg</application>
     62      applications. Many people will want to install other TTF or OTF fonts in
     63      addition to, or instead of, these. Some are listed at <xref
     64      linkend="TTF-and-OTF-fonts"/>.
     65    </para>
    6466
    6567    &lfs91_checked;
     
    6870    <itemizedlist spacing="compact">
    6971      <listitem>
    70         <para>Download (HTTP): <ulink url="&x7fonts-download-http;"/></para>
    71       </listitem>
    72       <listitem>
    73         <para>Download (FTP): <ulink url="&x7fonts-download-ftp;"/></para>
    74       </listitem>
    75       <listitem>
    76         <para>Download size: &x7fonts-size;</para>
    77       </listitem>
    78       <listitem>
    79         <para>Estimated disk space required: &x7fonts-buildsize;</para>
    80       </listitem>
    81       <listitem>
    82         <para>Estimated build time: &x7fonts-time;</para>
     72        <para>
     73          Download (HTTP): <ulink url="&x7fonts-download-http;"/>
     74        </para>
     75      </listitem>
     76      <listitem>
     77        <para>
     78          Download (FTP): <ulink url="&x7fonts-download-ftp;"/>
     79        </para>
     80      </listitem>
     81      <listitem>
     82        <para>
     83          Download size: &x7fonts-size;
     84        </para>
     85      </listitem>
     86      <listitem>
     87        <para>
     88          Estimated disk space required: &x7fonts-buildsize;
     89        </para>
     90      </listitem>
     91      <listitem>
     92        <para>
     93          Estimated build time: &x7fonts-time;
     94        </para>
    8395      </listitem>
    8496    </itemizedlist>
     
    99111    <title>Downloading Xorg Fonts</title>
    100112
    101     <para>First, create a list of files to be downloaded. This file will also
    102     be used to verify the integrity of the downloads when complete:</para>
     113    <para>
     114      First, create a list of files to be downloaded. This file will also
     115      be used to verify the integrity of the downloads when complete:
     116    </para>
    103117
    104118<screen><userinput>cat &gt; font-&xorg-version;.md5 &lt;&lt; "EOF"
     
    114128EOF</userinput></screen>
    115129
    116     <para>To download the needed files using <application>wget</application>,
    117     use the following commands:</para>
     130    <para>
     131      To download the needed files using <application>wget</application>,
     132      use the following commands:
     133    </para>
    118134
    119135<screen><userinput>mkdir font &amp;&amp;
     
    130146&as_root;
    131147
    132     <para>First, start a subshell that will exit on error:</para>
     148    <para>
     149      First, start a subshell that will exit on error:
     150    </para>
    133151
    134152<screen><userinput>bash -e</userinput></screen>
    135153
    136     <para>Install all of the packages by running the following
    137     commands:</para>
     154    <para>
     155      Install all of the packages by running the following commands:
     156    </para>
    138157
    139158<screen><userinput>for package in $(grep -v '^#' ../font-&xorg-version;.md5 | awk '{print $2}')
     
    149168done</userinput></screen>
    150169
    151     <para>Finally, exit the shell that was started earlier:</para>
     170    <para>
     171      Finally, exit the shell that was started earlier:
     172    </para>
    152173
    153174<screen><userinput>exit</userinput></screen>
    154175
    155     <para>When all of the fonts have been installed, the system must be
    156     configured so that <application>Fontconfig</application> can find the
    157     TrueType fonts since they are outside of the default search path of
    158     <filename class="directory">/usr/share/fonts</filename>.  Make symlinks
    159     to the <application>Xorg</application> TrueType font directories by
    160     running the following commands as the
    161     <systemitem class="username">root</systemitem> user:</para>
     176    <para>
     177      When all of the fonts have been installed, the system must be
     178      configured so that <application>Fontconfig</application> can find the
     179      TrueType fonts since they are outside of the default search path of
     180      <filename class="directory">/usr/share/fonts</filename>.  Make symlinks
     181      to the <application>Xorg</application> TrueType font directories by
     182      running the following commands as the
     183      <systemitem class="username">root</systemitem> user:
     184    </para>
    162185
    163186<screen role="root"><userinput>install -v -d -m755 /usr/share/fonts                               &amp;&amp;
     
    190213        <term><command>bdftruncate</command></term>
    191214        <listitem>
    192           <para>generates a truncated BDF font from an ISO 10646-1 encoded
    193           BDF font.</para>
     215          <para>
     216            generates a truncated BDF font from an ISO 10646-1 encoded BDF font.
     217          </para>
    194218          <indexterm zone="xorg7-font bdftruncate-x7">
    195219            <primary sortas="b-bdftruncate">bdftruncate</primary>
     
    201225        <term><command>ucs2any</command></term>
    202226        <listitem>
    203           <para>generates BDF fonts in any encoding from an ISO 10646-1 encoded
    204           BDF font.</para>
     227          <para>
     228            generates BDF fonts in any encoding from an ISO 10646-1 encoded
     229            BDF font.
     230          </para>
    205231          <indexterm zone="xorg7-font ucs2any-x7">
    206232            <primary sortas="b-ucs2any">ucs2any</primary>
Note: See TracChangeset for help on using the changeset viewer.