Changeset 8251b48


Ignore:
Timestamp:
08/30/2023 12:58:02 AM (9 months ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
12.0, 12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
fcf7e13
Parents:
a41ab12f
Message:

Tuning Fontconfig: Minor text tweaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/tuning-fontconfig.xml

    ra41ab12f r8251b48  
    4949      <xref linkend="rxvt-unicode"/> which can use fonts listed in
    5050      <filename>~/.Xresources</filename>, and <xref linkend="abiword"/> which
    51       only uses the specified font).  The default search path is <filename
     51      only uses the specified font). The default search path is <filename
    5252      class="directory">/usr/share/fonts</filename> and <filename
    53       class="directory">~/.local/share/fonts</filename> although for the moment
     53      class="directory">~/.local/share/fonts</filename>, although for the moment
    5454      the old and deprecated location <filename
    5555      class="directory">~/.fonts</filename> still works.
    5656      <application>Fontconfig</application> searches directories in its path
    5757      recursively and maintains a cache of the font characteristics in each
    58       directory.  If the cache appears to be out of date, it is ignored, and
     58      directory. If the cache appears to be out of date, it is ignored, and
    5959      information is fetched from the fonts themselves (that can take a few
    60       seconds if you installed a lot of fonts).
     60      seconds if you have a lot of fonts installed).
    6161    </para>
    6262
     
    9494
    9595    <para>
    96       <command>fc-list | less</command> : show a list of all available fonts
     96      <command>fc-list | less</command> : shows a list of all available fonts
    9797      (/path/to/filename: Font Name:style). If you installed a font more than
    9898      30 seconds ago but it does not show, then it or one of its directories is
     
    101101
    102102    <para>
    103       <command>fc-match 'Font Name'</command> : will tell you which font will
     103      <command>fc-match 'Font Name'</command> : tells you which font will
    104104      be used if the named font is requested. Typically you would use this to
    105105      see what happens if a font you have not installed is requested, but you
    106106      can also use it if the system is giving you a different font from
    107107      what you expected (perhaps because <application>fontconfig</application>
    108       does not agree that the font supports your language).
    109     </para>
    110 
    111     <para>
    112       <command>fc-match -a 'Type' | less</command> : will provide a list of all
     108      does not think that the font supports your language).
     109    </para>
     110
     111    <para>
     112      <command>fc-match -a 'Type' | less</command> : provides a list of all
    113113      fonts which can be used for that type (Monospace, Sans, Serif). Note that
    114114      in-extremis <application>fontconfig</application> will take a glyph from
     
    161161      <listitem>
    162162        <para>
    163           10-19 system rendering defaults (antialiasing etc)
     163          10-19 system rendering defaults (such as antialiasing)
    164164        </para>
    165165      </listitem>
     
    208208    <para>
    209209      You can also have a personal <filename>fonts.conf</filename> in
    210       $XDG_CONFIG_HOME which is <filename
    211       class="directory">~/.config/fontconfig/</filename>.
     210      $XDG_CONFIG_HOME (which is <filename
     211      class="directory">~/.config/fontconfig/</filename>).
    212212    </para>
    213213
     
    225225
    226226    <para>
    227       But if the document or page requested a font which is not installed
     227      However, if the document or page requested a font which is not installed
    228228      (or, occasionally, does not contain all the required codepoints) the
    229229      following rules come into play: First,
     
    238238      Persian and other non-latin writing systems. All of these files prefer
    239239      commercial fonts if they are present, although modern libre fonts are
    240       often at least their equals.
    241     </para>
    242 
    243     <para>
    244       Since fontconfig-2.12.5 there is also generic family matching for some
    245       emoji and math fonts, see {45,60}-generic.conf.
     240      often at least equal.
     241    </para>
     242
     243    <para>
     244      Since fontconfig-2.12.5, there is also generic family matching for some
     245      emoji and math fonts, please see {45,60}-generic.conf.
    246246    </para>
    247247
     
    268268    <para>
    269269      To try out different settings, you may need to exit from Xorg and then
    270       rerun <command>startx</command> so that all applications use the new
    271       settings. And if you use Gnome or KDE their desktops can override these
    272       changes. To explore the possibilities, create a file for your user:
     270      run <command>startx</command> again so that all applications use the new
     271      settings. If you use GNOME, KDE, or LXQt, their desktops can override
     272      these changes. To explore the possibilities, create a file for your user:
    273273    </para>
    274274
     
    340340      installed. Now, many people will not need to install any of them. But if
    341341      for some reason you have installed one or more bitmap fonts, you can
    342       prevent them being used by <application>fontconfig</application> by
    343       creating the following file as the
    344       <systemitem class="username">root</systemitem> user :
     342      prevent them from being used by <application>fontconfig</application> by
     343      creating the following file as the &root; user :
    345344    </para>
    346345
     
    381380      <listitem>
    382381        <para>
    383           There are hundreds of files, which makes selecting the font hard.
     382          There are hundreds of files, which makes selecting fonts difficult.
    384383        </para>
    385384      </listitem>
     
    396395        <para>
    397396          Several fonts have multiple sizes and impenetrable short names, which
    398           both make selecting the correct font even harder.
     397          both make selecting the correct font even more difficult.
    399398        </para>
    400399      </listitem>
     
    441440
    442441  </sect2>
    443 
    444442
    445443  <sect2 role="configuration" id="preferring-certain-fonts" xreflabel="Preferring certain fonts">
     
    471469      <para>
    472470        If you have installed the current version, the user documentation is
    473         available in html, PDF and text versions at <filename
     471        available in HTML, PDF, and text versions at <filename
    474472        class="directory">/usr/share/doc/fontconfig-&fontconfig-version;/</filename>
    475473        : change the version if you installed a different one.
     
    603601  <sect2 role="configuration" id="editing-old-style-conf-files"
    604602  xreflabel="Editing Old-Style conf files">
    605   <title>Editing Old-style conf files</title>
     603  <title>Editing Old-Style conf files</title>
    606604
    607605    <para>
     
    636634      The following example is the first part of
    637635      <filename>64-arphic-uming.conf</filename> from <xref linkend="UMing"/> -
    638       there are a lot more similar items which also need changing :
     636      there are many more similar items which also need changing :
    639637    </para>
    640638
     
    657655    <para>
    658656      The process to correct this is straightforward but tedious - for every
    659       item which produces an error message, using your editor (as the
    660       <systemitem class="username">root</systemitem> user) edit the installed
     657      item which produces an error message, using your editor (as the &root;
     658      user), edit the installed
    661659      file to repeat the whole block as many times as there are multiple
    662660      variables, then reduce each example to have only one of them. You may
Note: See TracChangeset for help on using the changeset viewer.