Changeset dcc1b92


Ignore:
Timestamp:
11/27/2023 08:37:47 PM (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:
abbf9a3
Parents:
f072b06f
Message:

tuning fontconfig:

It is not only GNOME, KDE and LXQt which can override fontconfig.
Document the known items.

File:
1 edited

Legend:

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

    rf072b06f rdcc1b92  
    7575      <listitem>
    7676        <para><xref linkend="editing-old-style-conf-files"/></para>
     77      </listitem>
     78      <listitem>
     79        <para><xref linkend="items-which-can-override-fontconfig"/></para>
    7780      </listitem>
    7881      <listitem>
     
    402405      To try out different settings, you may need to exit from Xorg and then
    403406      run <command>startx</command> again so that all applications use the new
    404       settings. If you use GNOME, KDE, or LXQt, their desktops can override
    405       these changes. To explore the possibilities, create a file for your user:
     407      settings. Several things can override the fontconfig settings, see
     408      <xref linkend="items-which-can-override-fontconfig"/> below. To explore
     409      the possibilities, create a file for your user:
    406410    </para>
    407411
     
    865869    </para>
    866870
     871    <bridgehead renderas="sect3" id="items-which-can-override-fontconfig"
     872    xreflabel="Items which can override fontconfig">Items which can override fontconfig</bridgehead>
     873
     874    <para>
     875      Several desktop environments, as well as some programs, will use fontconfig
     876      to find fonts but may override certain things.
     877    </para>
     878
     879    <para>
     880      GNOME: The settings in org.gnome.desktop.interface can be updated with
     881      <application>dconf-editor</application>. You can set the fonts to your preference
     882      and desired point size. To use the fonts chosen by fontconfig specify e.g.
     883      'Sans 12', Serif 11', 'Mono 10' as desired. Also review the antialiasing, hinting
     884      and rgba settings.
     885    </para>
     886
     887    <para>
     888      LXQt: Change font settings as necessary to match fontconfig in
     889      <application>lxqt-config-appearance</application>.
     890    </para>
     891
     892    <para>
     893      KDE Plasma: The settings can be adjusted in <application>System
     894      Settings</application> under Appearance -> Fonts. This will create or modify
     895      <filename>~/.config/fontconfig/fonts.conf</filename> although
     896      <filename>~/.config/fontconfig/fonts.conf</filename>, if installed, can
     897      override that.
     898    </para>
     899
     900    <para>
     901      Xfce desktop: The settings can be adjusted in
     902      <application>Settings</application> Appearance -> Fonts. Specify your
     903      preferred fonts, e.g. 'Sans Regular' (to use the regular face and weight
     904      rather than Bold and/or Italic) and adjust the point size in the option.
     905      Review the Rendering and DPI options.
     906    </para>
     907
     908    <para>
     909      Firefox: This browser allows you to specify its default fonts. For the 115esr
     910      series, use the 'Hamburger' menu to got to Preferences, General, and under Fonts
     911      -> Advanced select Sans Serif, Serif, Monospace as appropriate if you wish to use
     912      the fonts which match fontconfig.  Set the point sizes as desired. In later
     913      versions, the settings are at Preferences -> Fonts.
     914      <!-- FIXME : Ken - when merging, add note in packages to update this when next ESR
     915      series is used -->
     916    </para>
     917
     918    <para>
     919      Libreoffice: Tests using English text with an old Japanese font (HanaMinA)
     920      which supports several European languages but had only one weight and no
     921      italics or slant showed that although <application>Libreoffice</application>
     922      uses fontconfig to find the font, it created its own bold or slanted text.
     923      It is not clear if it will do the same where a font actually has bold weight
     924      or an italic face. Also, documentation shows that Libreoffice has its own
     925      substitution rules for when a codepoint is not found in the selected font,
     926      but is unclear if those rules apply on Linux using fontconfig.
     927    </para>
     928
     929    <para>
     930      Pango: as noted in the example <filename>~/.config/fontconfig</filename>
     931      above, anything using Pango-1.44 (from 2019) or later now uses Harfbuzz for
     932      hinting, not FreeType, and <literal>hintfull</literal> is not supported.
     933    </para>
     934
    867935  </sect2>
    868 
    869936
    870937  <sect2 role="configuration" id="see-also" xreflabel="See Also">
Note: See TracChangeset for help on using the changeset viewer.