Changeset 1307636


Ignore:
Timestamp:
11/29/2023 08:31:29 AM (6 months ago)
Author:
Ken Moffat <ken@…>
Branches:
12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, trunk, xry111/llvm18
Children:
f57d8fc
Parents:
82ea9e2
Message:

tuningfonts -

We use <application> in the markup for all package names. Do that
consistently for rendered text on these pages, except when referring
to a version of a package.

Location:
x/installing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • x/installing/TTF-and-OTF-fonts.xml

    r82ea9e2 r1307636  
    2727      Type1 fonts were added, but the desktop world moved on to using TrueType
    2828      and Open Type fonts. To support these, Xorg uses Xft, the X FreeType
    29       interface library, with Fontconfig (see previous page for details
    30       including how fonts are selected and various reasons why a
    31       font might be ignored).
     29      interface library, with <application>Fontconfig</application> (see
     30      previous page for details including how fonts are selected and various
     31      reasons why a font might be ignored).
    3232    </para>
    3333
     
    388388      Although many old posts recommend installing these fonts for
    389389      output which looks better, less old posts say that these are
    390       'ugly' or 'broken' with modern Fontconfig, Freetype and Pango.
     390      'ugly' or 'broken' with modern <application>Fontconfig</application>,
     391      <application>Freetype</application> and <application>Pango.</application>
    391392      Most people will not want to install any of these fonts.
    392393    </para>
     
    425426
    426427    <para>
    427       Those three fonts are the first-choice preferences of Fontconfig for text
     428      Those three fonts are the first-choice preferences of
     429      <application>Fontconfig</application> for text
    428430      in those three alphabets, and they are updated frequently to cover recent
    429431      Unicode additions such as the extensions for phonetic transcription in
     
    456458    <para>
    457459      For writing systems not using the Latin, Greek or Cyrillic alphabets the
    458       Noto fonts are not preferred by Fontconfig. If you use a Noto font for
     460      Noto fonts are not preferred by <application>Fontconfig</application>.
     461      If you use a Noto font for
    459462      a modern language where another installed font also covers it (e.g. the
    460463      DejaVu conts cover several Right-to-Left alphabets), you might need to
    461       set a preference for Fontconfig - see the previous page.
     464      set a preference for <application>Fontconfig</application> - see the
     465      previous page.
    462466    </para>
    463467
     
    511515
    512516    <para>
    513       For indic languages, Fontconfig now prefers Lohit fonts (Sanskrit for 'red').
    514       They can be found at <ulink url=
     517      For indic languages, <application>Fontconfig</application> now prefers
     518      Lohit fonts (Sanskrit for 'red'). They can be found at <ulink url=
    515519      "https://releases.pagure.org/lohit/">pagure.org</ulink>         
    516520    </para>
     
    741745      available and which apparently does not meet Debian's Free Software
    742746      guidelines). If you install the IPAex fonts, you may want to make it known
    743       to Fontconfig. Please see <xref
     747      to <application>Fontconfig</application>. Please see <xref
    744748      linkend="prefer-chosen-CJK-fonts"/> for one way to accomplish this.
    745749    </para>
  • x/installing/tuning-fontconfig.xml

    r82ea9e2 r1307636  
    4242      Unfortunately, some of the terminology is ambiguous (e.g. 'font face' can
    4343      mean a name known to Fontconfig, <emphasis>or</emphasis> the ordinary,
    44       condensed, etc variations of a font).
     44      condensed, etc variations of a font) and 'style' can be used to
     45      differentiate 'ordinary' from 'italic', or in describing some classes of
     46      Serif fonts.
    4547    </para>
    4648
     
    149151
    150152    <para>
    151       The following commands may be helpful when working with Fontconfig,
     153      The following commands may be helpful when working with
     154      <application>Fontconfig</application>,
    152155      particularly if you are interested in overriding which font will be
    153156      chosen. 'TYPE' should be one of serif, sans-serif or monospace.
     
    349352
    350353    <para>
    351       All remaining scripts for which Fontconfig has preferences (CJK scripts,
     354      All remaining scripts for which <application>Fontconfig</application> has
     355      preferences (CJK scripts,
    352356      Indic scripts) are dealt with in <filename>65-nonlatin.conf</filename>.
    353357      These are again nominally grouped as Serif, Sans-Serif, Monospace. Of the
     
    415419
    416420    <para>
    417       For 'fantasy' there are no free fonts, so Fontconfig will fall back to
    418       sans-serif.
     421      For 'fantasy' there are no free fonts, so
     422      <application>Fontconfig</application> will fall back to sans-serif.
    419423    </para>
    420424
    421425    <para>
    422426      For 'cursive', the only free font is TeX Gyre Chorus as an alias for
    423       ITC Zapf chancery, otherwise Fontconfig will again fall back to sans-serif.
     427      ITC Zapf chancery, otherwise <application>Fontconfig</application> will
     428      again fall back to sans-serif.
    424429    </para>
    425430
     
    786791            with an old conf file preferring it for zh-tw and zh-hk language
    787792            codes (and for sans-serif and monospace). But without the conf file,
    788             Fontconfig will only treat it as suitable for zh-hk.
     793            <application>Fontconfig</application> will only treat it as suitable
     794            for zh-hk.
    789795            The conf file needs to be edited to current style and will then be
    790796            prepended, so specifying UMing does not belong in this
     
    983989      to your local machine. As shiped it will use your default Serif font assuming
    984990      you have one. Edit it to point to a specific installed font using the name
    985       known to Fontconfig (also in the *EDITME FONTNAME*  text items) and open it
     991      known to <application>Fontconfig</application> (also in the *EDITME FONTNAME*
     992      text items) and open it
    986993      from your desktop browser. You can also use it to look at a font with only
    987994      two installed weights, e.g. for testing to see if you prefer other weights.
     
    10181025
    10191026    <para>
    1020       Several desktop environments, as well as some programs, will use Fontconfig
     1027      Several desktop environments, as well as some programs, will use
     1028      <application>Fontconfig</application>
    10211029      to find fonts but may override certain things.
    10221030    </para>
    10231031
    10241032    <para>
    1025       GNOME: The settings in org.gnome.desktop.interface can be updated with
    1026       <application>dconf-editor</application>. You can set the fonts to your preference
    1027       and desired point size. To use the fonts chosen by Fontconfig specify e.g.
    1028       'Sans 12', Serif 11', 'Mono 10' as desired. Also review the antialiasing, hinting
    1029       and rgba settings.
    1030     </para>
    1031 
    1032     <para>
    1033       LXQt: Change font settings as necessary to match Fontconfig in
     1033      <application>GNOME</application>: The settings in
     1034      org.gnome.desktop.interface can be updated with
     1035      <application>dconf-editor</application>. You can set the fonts to your
     1036      preference and desired point size. To use the fonts chosen by
     1037      <application>Fontconfig</application> specify e.g. 'Sans 12', Serif 11',
     1038      'Mono 10' as desired. Also review the antialiasing, hinting and rgba
     1039      settings.
     1040    </para>
     1041
     1042    <para>
     1043      <application>LXQt</application>: Change font settings as necessary to
     1044      match <application>Fontconfig</application> in
    10341045      <application>lxqt-config-appearance</application>.
    10351046    </para>
    10361047
    10371048    <para>
    1038       KDE Plasma: The settings can be adjusted in <application>System
    1039       Settings</application> under Appearance -> Fonts. This will create or modify
    1040       <filename>~/.config/fontconfig/fonts.conf</filename> although
    1041       <filename>~/.config/fontconfig/fonts.conf</filename>, if installed, can
    1042       override that.
    1043     </para>
    1044 
    1045     <para>
    1046       Xfce desktop: The settings can be adjusted in
     1049      <application>KDE Plasma</application>: The settings can be adjusted in
     1050      <application>System Settings</application> under Appearance -> Fonts. This
     1051      will create or modify <filename>~/.config/fontconfig/fonts.conf</filename>
     1052      although <filename>~/.config/fontconfig/fonts.conf</filename>, if
     1053      installed, can override that.
     1054    </para>
     1055
     1056    <para>
     1057      i<application>Xfce desktop</application>: The settings can be adjusted in
    10471058      <application>Settings</application> Appearance -> Fonts. Specify your
    10481059      preferred fonts, e.g. 'Sans Regular' (to use the normal face and weight
     
    10521063
    10531064    <para>
    1054       Firefox: This browser allows you to specify its default fonts. For the 115esr
    1055       series, use the 'Hamburger' menu to got to Preferences, General, and under Fonts
    1056       -> Advanced select Sans Serif, Serif, Monospace as appropriate if you wish to use
    1057       the fonts which match Fontconfig.  Set the point sizes as desired. In later
    1058       versions, the settings are at Preferences -> Fonts.
     1065      <application>Firefox</application>: This browser allows you to specify its
     1066      default fonts. For the 115esr series use the 'Hamburger' menu to go to
     1067      Preferences, General, and under Fonts -> Advanced select Sans Serif, Serif
     1068      or Monospace as appropriate if you wish to use the fonts which match
     1069      <application>Fontconfig</application>.  Set the point sizes as desired. In
     1070      later versions, the settings are at Preferences -> Fonts.
    10591071      <!-- FIXME : Ken - when merging, add note in packages to update this when next ESR
    10601072      series is used -->
     
    10621074
    10631075    <para>
    1064       Libreoffice: Tests using English text with an old Japanese font (HanaMinA)
    1065       which supports several European languages but had only one weight and no
    1066       italics or slant showed that although <application>libreoffice</application>
    1067       uses Fontconfig to find the font, it created its own bold or slanted text.
    1068       It is not clear if it will do the same where a font actually has bold weight
    1069       or an italic style. Also, documentation shows that libreoffice has its own
    1070       substitution rules for when a codepoint is not found in the selected font,
    1071       but is unclear if those rules apply on Linux using Fontconfig.
    1072     </para>
    1073 
    1074     <para>
    1075       Pango: as noted in the example <filename>~/.config/fontconfig</filename>
    1076       above, anything using Pango-1.44 (from 2019) or later now uses Harfbuzz for
    1077       hinting, not FreeType, and <literal>hintfull</literal> is not supported.
     1076      <application>Libreoffice</application>: Tests using English text with an
     1077      old Japanese font (HanaMinA) which supports several European languages but
     1078      had only one weight and no italics or slant showed that although
     1079      <application>Libreoffice</application> uses
     1080      <application>Fontconfig</application> to find the font, it created its own
     1081      bold or slanted text. It is not clear if it will do the same where a font
     1082      actually has bold weight or an italic style. Also, documentation shows
     1083      that <application>Libreoffice</application> has its own substitution rules
     1084      for when a codepoint is not found in the selected font, but is unclear if
     1085      those rules apply on Linux using Fontconfig.
     1086    </para>
     1087
     1088    <para>
     1089      <application>Pango</application>: as noted in the example
     1090      <filename>~/.config/fontconfig</filename> above, anything using Pango-1.44
     1091      (from 2019) or later now uses <application>Harfbuzz</application> for
     1092      hinting, not <application>FreeType</application>, and
     1093      <literal>hintfull</literal> is not supported.
    10781094    </para>
    10791095
Note: See TracChangeset for help on using the changeset viewer.