Changeset e180a646


Ignore:
Timestamp:
01/25/2017 05:03:58 PM (7 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
7985ac6c
Parents:
5dab33c6
Message:

For a' that, an a' that,
It's coming yet for a' that,
That ilka body the world o'er,
Can use Guid Fonts for a' that.

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

Files:
2 added
12 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r5dab33c6 re180a646  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "24">                   <!-- Always 2 digits -->
     3<!ENTITY day          "25">                   <!-- Always 2 digits -->
    44<!ENTITY month        "01">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2017">
     
    77<!ENTITY copyholder   "The BLFS Development Team">
    88<!ENTITY version      "&year;-&month;-&day;">
    9 <!ENTITY releasedate  "January 24th &year;">
     9<!ENTITY releasedate  "January 25th &year;">
    1010<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1111<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • general/genutils/imagemagick.xml

    r5dab33c6 re180a646  
    175175    <bridgehead renderas="sect4">Optional Graphics Utilities</bridgehead>
    176176    <para role="optional">
     177      <xref linkend="dejavu-fonts"/>,
    177178      <xref linkend="gs"/>,
    178179      <xref linkend="gimp"/>,
     
    181182      <ulink url="http://www.blender.org/">Blender</ulink>,
    182183      <ulink url="http://corefonts.sourceforge.net/">corefonts</ulink>,
    183       <ulink url="http://dejavu-fonts.org/wiki/Main_Page/">DejaVu fonts</ulink>,
    184184      <ulink url="http://www.ghostscript.com/download/gpcldnld.html">GhostPCL</ulink>,
    185185      <ulink url="http://www.gnuplot.info/">Gnuplot</ulink>,
  • general/genutils/imagemagick6.xml

    r5dab33c6 re180a646  
    194194    <bridgehead renderas="sect4">Optional Graphics Utilities</bridgehead>
    195195    <para role="optional">
     196      <xref linkend="dejavu-fonts"/>,
    196197      <xref linkend="gs"/>,
    197198      <xref linkend="gimp"/>,
     
    200201      <ulink url="http://www.blender.org/">Blender</ulink>,
    201202      <ulink url="http://corefonts.sourceforge.net/">corefonts</ulink>,
    202       <ulink url="http://dejavu-fonts.org/wiki/Main_Page/">DejaVu fonts</ulink>,
    203203      <ulink url="http://www.ghostscript.com/download/gpcldnld.html">GhostPCL</ulink>,
    204204      <ulink url="http://www.gnuplot.info/">Gnuplot</ulink>,
  • general/graphlib/fontconfig.xml

    r5dab33c6 re180a646  
    205205        </listitem>
    206206        <listitem>
    207           <para>~/.fonts</para>
     207          <para>~/.local/share/fonts</para>
     208        </listitem>
     209        <listitem>
     210          <para>~/.fonts <emphasis>(this is now deprecated, but for the moment
     211          it still works)</emphasis></para>
    208212        </listitem>
    209213      </itemizedlist>
  • introduction/welcome/changelog.xml

    r5dab33c6 re180a646  
    4444-->
    4545    <listitem>
     46      <para>January 25th, 2017</para>
     47      <itemizedlist>
     48        <listitem>
     49          <para>[ken] - Rework coverage of TTF and OTF fonts, add
     50          details about tuning fontconfig. Fixes
     51          <ulink url="&blfs-ticket-root;8796">#8796</ulink>.</para>
     52        </listitem>
     53      </itemizedlist>
     54    </listitem>
     55
     56    <listitem>
    4657      <para>January 24th, 2017</para>
    4758      <itemizedlist>
  • pst/ps/paps.xml

    r5dab33c6 re180a646  
    6060    </itemizedlist>
    6161
    62 <!--
    63       <listitem>
    64         <para>DejaVu fonts for European languages:
    65            <ulink url="http://dejavu.sourceforge.net"/></para>
    66       </listitem>
    67       <listitem>
    68         <para>Arphic fonts for Chinese:
    69             <ulink url="http://cle.linux.org.tw/fonts/Arphic"/></para>
    70       </listitem>
    71       <listitem>
    72         <para>Kochi fonts for Japanese:
    73             <ulink url="http://sourceforge.jp/projects/efont"/></para>
    74       </listitem>
    75     </itemizedlist>
    76 -->
    77 
    7862    <bridgehead renderas="sect3">paps Dependencies</bridgehead>
    7963    <bridgehead renderas="sect4">Required</bridgehead>
     
    10185    and visually compare it to
    10286    <filename>doxygen-doc/html/example-output.png</filename> in the source tree.
    103     The results of the output will be more robust with DejaVu, Arphic, and
    104     Kochi fonts installed as explained in the <xref
    105     linkend="xft-font-protocol"/> Section of the X Window System
    106     configuration.</para>
     87    The results of the output will be more robust with <xref linkend="dejavu-fonts"/>
     88    and some of the <xref linkend="Chinese-fonts"/> and <xref
     89    linkend="Japanese-fonts"/>.</para>
    10790
    10891    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
  • x/installing/installing.xml

    r5dab33c6 re180a646  
    7878  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xinit.xml"/>
    7979  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xorg-config.xml"/>
     80  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tuning-fontconfig.xml"/>
     81  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="TTF-and-OTF-fonts.xml"/>
    8082  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x7legacy.xml"/>
    8183</chapter>
  • x/installing/x7font.xml

    r5dab33c6 re180a646  
    6464    applications. Many people will want to install other TTF or OTF fonts in
    6565    addition to, or instead of, these. Some are listed at <xref
    66     linkend="xft-font-protocol"/>.</para>
     66    linkend="TTF-and-OTF-fonts"/>.</para>
    6767
    6868    &lfs7a_checked;
  • x/installing/xorg-config.xml

    r5dab33c6 re180a646  
    183183    </sect2>
    184184
    185     <sect2 role="configuration" id="xft-font-protocol"  xreflabel="Xft Font Protocol">
    186       <title>Xft Font Protocol</title>
    187 
    188       <indexterm zone="xft-font-protocol" id="fonts">
    189         <primary sortas="g-truetype">TrueType Fonts</primary>
    190       </indexterm>
    191 
    192       <para>Xft provides antialiased font rendering through
    193       <application>Freetype</application>, and fonts are controlled from the
    194       client side using <application>Fontconfig</application>.  The default
    195       search path is <filename class="directory">/usr/share/fonts</filename>
    196       and <filename class="directory">~/.fonts</filename>.
    197       <application>Fontconfig</application> searches directories in its
    198       path recursively and maintains a cache of the font characteristics in
    199       <filename>fonts.cache-1</filename> files in each directory.  If the cache
    200       appears to be out of date, it is ignored, and information is (slowly)
    201       fetched from the fonts themselves.  This cache
    202       can be regenerated using the <command>fc-cache</command> command at any
    203       time. You can see the list of fonts known by
    204       <application>Fontconfig</application> by running the command
    205       <command>fc-list</command>.</para>
    206 
    207       <para>If you've installed <application>Xorg</application> in any prefix
    208       other than <filename class="directory">/usr</filename>, the
    209       <application>X</application> fonts were not installed in a
    210       location known to <application>Fontconfig</application>. This prevents
    211       <application>Fontconfig</application> from using the poorly rendered
    212       Type 1 fonts or the non-scalable bitmapped fonts. Symlinks were created
    213       from the <filename class="directory">OTF</filename> and <filename
    214       class="directory">TTF</filename> <application>X</application> font
    215       directories to <filename
    216       class="directory">/usr/share/fonts/X11-{OTF,TTF}</filename>. This allows
    217       <application>Fontconfig</application> to use the OpenType and TrueType
    218       fonts provided by <application>X</application> (which are scalable and
    219       of higher quality).</para>
    220 
    221       <para><application>Fontconfig</application> uses names such as
    222       "Monospace 12" to define fonts.  Applications generally use generic font
    223       names such as "Monospace", "Sans" and "Serif".
    224       <application>Fontconfig</application> resolves these names to a font that
    225       has all characters that cover the orthography of the language indicated
    226       by the locale settings.  Knowledge of these font names is included in
    227       <filename>/etc/fonts/fonts.conf</filename>. Fonts that are not listed
    228       in this file are still usable by <application>Fontconfig</application>,
    229       but they will not be accessible by the generic family names.</para>
    230 
    231       <para>Standard scalable fonts that come with <application>X</application>
    232       provide very poor Unicode coverage.  You may notice in applications that
    233       use <application>Xft</application> that some characters appear as a box
    234       with four binary digits inside.  In this case, a font set with the
    235       available glyphs has not been found.  Other times, applications that
    236       don't use other font families by default and don't accept substitutions
    237       from <application>Fontconfig</application> will display blank lines when
    238       the default font doesn't cover the orthography of the user's language.
    239       This happens, e.g., with <application>Fluxbox</application> in the
    240       ru_RU.KOI8-R locale.</para>
    241 
    242       <para>In order to provide greater Unicode coverage, it is recommended
    243       that you install these fonts:</para>
    244 
    245       <itemizedlist>
    246         <listitem>
    247           <para><ulink url="http://dejavu.sourceforge.net/">DejaVu fonts</ulink>
    248           - These fonts are replacements for the Bitstream Vera fonts and
    249           provide Latin-based scripts with accents and Cyrillic glyphs.</para>
    250         </listitem>
    251         <listitem>
    252           <para><ulink
    253           url="http://download.savannah.nongnu.org/releases/freefont/">FreeFont</ulink>
    254           - This set of fonts covers nearly every non-CJK character, but is not
    255           visually pleasing.  <application>Fontconfig</application> will use it
    256           as a last resort to substitute generic font family names.</para>
    257         </listitem>
    258         <listitem>
    259           <para><ulink
    260           url="http://corefonts.sourceforge.net/">Microsoft Core fonts</ulink>
    261           - These fonts provide slightly worse Unicode coverage than FreeFont,
    262           but are better hinted.  Be sure to read the license before using
    263           them. These fonts are listed in the aliases in the
    264           <filename class="directory">/etc/fonts/conf.d</filename> directory
    265           by default.</para>
    266         </listitem>
    267         <listitem>
    268           <para><ulink
    269           url="http://ftp.osuosl.org/pub/blfs/conglomeration/Xorg//fireflysung-1.3.0.tar.gz">Firefly New Sung font</ulink>
    270           - This font ('AR PL New Sung') provides Chinese coverage and is
    271           listed in the aliases in the
    272           the <filename class="directory">/etc/fonts/conf.d</filename>
    273           directory by default.</para>
    274         </listitem>
    275         <listitem>
    276           <para><ulink
    277           url="http://packages.debian.org/sid/fonts-arphic-ukai">UKai fonts</ulink>
    278           and <ulink
    279           url="http://packages.debian.org/sid/fonts-arphic-uming">UMing fonts</ulink>
    280           - Newer sets (ttc) of Chinese fonts similarto the Firefly New Sung font,
    281           containing variations of Simplified and Traditional. The Ming style is
    282           similar to Sung (or Song), Kai is a slightly different style but still
    283           looks to people used to the latin alphabets like a Serif font.
    284           </para>
    285         </listitem>
    286         <listitem>
    287           <para><ulink
    288           url="http://sourceforge.jp/projects/efont/">Kochi fonts</ulink> -
    289           These provide Japanese characters, and are listed in the aliases
    290           in the <filename class="directory">/etc/fonts/conf.d</filename>
    291           directory by default.</para>
    292         </listitem>
    293         <listitem>
    294           <para><ulink
    295           url="http://kldp.net/projects/baekmuk/">Baekmuk fonts</ulink>
    296           - These fonts provide Korean coverage, and some are listed
    297           <!-- Batang, Dotum in 40-nonlatin, 65-nonlatin adds Gulim -->
    298           in the aliases in the
    299           <filename class="directory">/etc/fonts/conf.d</filename> directory
    300           by default.</para>
    301         </listitem>
    302         <listitem>
    303           <para><ulink
    304           url="&gnome-download-http;/cantarell-fonts/0.0/">Cantarell fonts</ulink>
    305           - The Cantarell typeface family provides a contemporary Humanist sans
    306           serif. It is particularly optimised for legibility at small sizes and is
    307           the preferred font family for the <application>GNOME-3</application> user
    308           interface.</para>
    309         </listitem>
    310       </itemizedlist>
    311 
    312       <para>The list above will not provide complete Unicode coverage.
    313       Unicode is updated every year, and most additions are now for historic
    314       writing systems. For almost-complete coverage you can install <xref
    315       linkend="noto-fonts"/> (about 180 fonts when last checked) but that
    316       number of fonts makes it <emphasis>much</emphasis> less convenient to
    317       select a specific font in a document, and most people will regard many
    318       of them as a waste of space. We used to recommend the <ulink
    319       url="http://unifont.org/fontguide/">Unicode Font Guide</ulink>, but that
    320       has not been updated since 2008 and many of its links are dead.</para>
    321 
    322       <para>Rendered examples of most of the above fonts, and many others,
    323       can be found at this
    324       <ulink url="http://zarniwhoop.uk/ttf-otf-notes.html#examples">
    325       font analysis</ulink> page.</para>
    326 
    327       <para>As a font installation example, consider the installation of the
    328       DejaVu fonts. In this particular package, the TTF files are in a
    329       subdirectory. From the unpacked source directory, run the following
    330       commands as the <systemitem class="username">root</systemitem> user:</para>
    331 
    332 <screen role="root"><userinput>install -v -d -m755 /usr/share/fonts/dejavu &amp;&amp;
    333 install -v -m644 ttf/*.ttf /usr/share/fonts/dejavu &amp;&amp;
    334 fc-cache -v /usr/share/fonts/dejavu</userinput></screen>
    335 
    336       <para>Fonts are often supplied in zip files, requiring <xref linkend="unzip"/>
    337       to list and extract them, but even if the current release is a tarball
    338       you should still check to see if it will create a directory.</para>
    339 
    340     </sect2>
    341 
    342185  <sect2 role="configuration" id='xconfig'>
    343186    <title>Setting up Xorg Devices</title>
  • x/installing/xterm.xml

    r5dab33c6 re180a646  
    6666    <bridgehead renderas="sect4">Required (at runtime)</bridgehead>
    6767    <para role="required">
    68       A monospace TTF or OTF font such as DejaVu, listed under
    69       <xref linkend="xft-font-protocol"/>
     68      A monospace TTF or OTF font such as
     69      <xref linkend="dejavu-fonts"/>
    7070    </para>
    7171
  • x/lib/pango.xml

    r5dab33c6 re180a646  
    9696    <bridgehead renderas="sect4">Optional</bridgehead>
    9797    <para role="optional">
    98       <xref linkend="gtk-doc"/>,
    99       <ulink url="https://linux.thai.net/projects/libthai">libthai</ulink>, and
    100       <ulink url="https://github.com/GNOME/cantarell-fonts/releases">Cantarell Fonts</ulink> (for tests)
     98      <xref linkend="cantarell-fonts"/> (for tests),
     99      <xref linkend="gtk-doc"/>, and
     100      <ulink url="https://linux.thai.net/projects/libthai">libthai</ulink>
    101101    </para>
    102102
  • xsoft/office/abiword.xml

    r5dab33c6 re180a646  
    277277        If you are using multiple languages, you may need to edit the template
    278278        to use a font with greater coverage (e.g. one of the
    279         <ulink url="http://dejavu.sourceforge.net/">DejaVu fonts</ulink>),
     279        <xref linkend="dejavu-fonts"/>,
     280    <!--
     281        <ulink url="http://dejavu.sourceforge.net/">DejaVu fonts</ulink>), -->
    280282        because <application>Abiword</application> does not use
    281283        <application>fontconfig</application> and can only display glyphs that
Note: See TracChangeset for help on using the changeset viewer.