Changeset 0262f7c for x/installing/tuning-fontconfig.xml
- Timestamp:
- 12/06/2023 03:01:18 PM (7 months ago)
- Branches:
- 12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, trunk, xry111/llvm18
- Children:
- 69c8f9fa
- Parents:
- 9c1319c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/installing/tuning-fontconfig.xml
r9c1319c r0262f7c 131 131 class="directory">TTF</filename> <application>X</application> font 132 132 directories to <filename 133 class="directory">/usr/share/fonts/X11-{OTF,TTF}</filename> . This allows134 <application>Fontconfig</application> to use the OpenType and TrueType135 fonts provided by <application>X</application>, although many people will136 p refer to use more modern fonts.133 class="directory">/usr/share/fonts/X11-{OTF,TTF}</filename> in Xorg Fonts. 134 This allows <application>Fontconfig</application> to use the OpenType and 135 TrueType fonts provided by <application>X</application>, although many 136 people will prefer to use more modern fonts. 137 137 </para> 138 138 … … 159 159 <para> 160 160 <command>fc-list | less</command> : shows a list of all available fonts 161 (/path/to/filename: Font Name:style). If you installed a font more than162 30 seconds ago but it does not show, then it or one of its directories is163 not readable byyour user.161 (/path/to/filename: Font Name:style). If you installed a font and it 162 doesn't show, then the directory it is contained in is not readable by 163 your user. 164 164 </para> 165 165 … … 176 176 <command>fc-match -a <replaceable>Type</replaceable> | less</command> : 177 177 provides a list of all fonts which can be used for that type (Monospace, 178 Sans Sans-serif, Serif <emphasis>(capital letters optional)</emphasis>).178 Sans, Sans-serif, Serif <emphasis>(capital letters optional)</emphasis>). 179 179 Note that in-extremis <application>Fontconfig</application> will take a 180 180 glyph from any available font, even if it is not of the specified type, … … 187 187 It does not mean that the reported font will necessarily be able to show 188 188 Japanese ideograms, so a fallback might be used, or some glyphs may be 189 missing. For language codes use ISO-639 valuesuch as 'fr', 'ja', 'zh-cn'.189 missing. For language codesi, use ISO-639 values such as 'fr', 'ja', 'zh-cn'. 190 190 Note that an unrecognized value such as just 'zh' will not return any 191 match. To illustrate the fallback, on a system where iboth Noto Sans Mono191 match. To illustrate the fallback, on a system where both Noto Sans Mono 192 192 and DejaVu Sans Mono are installed, <command>fc-match 'monospace 193 193 :lang=en</command> shows Noto Sans Mono will be used, but if the lang is … … 320 320 examples of Latin fonts with the same metrics can be found in the 321 321 'Substitutes' PDFs at <ulink 322 url="http://zarniwhoop.uk/files/PDF-substitutes/">zarniwhoop.uk. )</ulink>322 url="http://zarniwhoop.uk/files/PDF-substitutes/">zarniwhoop.uk.</ulink> 323 323 </para> 324 324 … … 344 344 345 345 <para> 346 Default Persi on fonts are dealt with in346 Default Persian fonts are dealt with in 347 347 <filename>65-fonts-persian.conf</filename>. It looks as if all the listed 348 348 fonts are commercial. Using fonts that support Persian (which has its own … … 386 386 The various Noto CJK fonts are <emphasis>not</emphasis> among the listed 387 387 fonts, possibly the RedHat developers preferred other fonts. These now 388 come in many variations, probably anyone who usesthese will not install388 come in many variations, and most users who use these will not install 389 389 any other CJK fonts. 390 390 </para> … … 402 402 For serif, Times New Roman could have been aliased from Liberation Serif or 403 403 Tinos, and Times from TeX Gyre Termes, so although the named fonts are not 404 free, the metric-compati lbe fonts can be used. Ignoring other non-free fonts,404 free, the metric-compatible fonts can be used. Ignoring other non-free fonts, 405 405 the remaining order for serif is: Times New Roman, Luxi Serif, Nimbus Roman 406 No9 L, Times. In practice, that means those fonts at the end of the list406 No9 L, and Times. In practice, that means those fonts at the end of the list 407 407 are unlikely to be used unless a web page asks for them. 408 408 </para> … … 410 410 <para> 411 411 For sans-serif, the remaining order is anything mapped to Arial, Luxi Sans, 412 Nimbus Sans L, an ything mapped to Helvetica.412 Nimbus Sans L, and anything mapped to Helvetica. 413 413 </para> 414 414 415 415 <para> 416 416 The remaining alternatives for monospace are Inconsolata, anything mapped 417 to Courier New, Luxi Mono, Nimbus Mono, an ything mapped to Courier.417 to Courier New, Luxi Mono, Nimbus Mono, and anything mapped to Courier. 418 418 </para> 419 419 … … 468 468 run <command>startx</command> again so that all applications use the new 469 469 settings. Several things can override the fontconfig settings, see 470 <xref linkend="items-which-can-override-fontconfig"/> below . To explore471 the possibilities, create a file for your user:470 <xref linkend="items-which-can-override-fontconfig"/> below for more 471 details. To explore the possibilities, create a file for your user: 472 472 </para> 473 473 … … 534 534 linkend="subpixel-hinting"/> (Spoiler: there is NO sub-pixel hinting, 535 535 the code simply ignores <emphasis>all</emphasis> horizontal hinting 536 instructions .536 instructions). 537 537 </para> 538 538 … … 597 597 synthetic slanting and emboldening to a font. The synthetic emboldening can 598 598 be applied to a visibly faint font, but the results are not always as 599 expected: With just the embolden, <application> epiphany</application> showed600 darker font , <application>firefox</application> did not - so although601 <application> cairo</application> is now used by599 expected: With just the embolden, <application>Epiphany</application> showed 600 darker fonts while <application>Firefox</application> did not - so although 601 <application>Cairo</application> is now used by 602 602 <application>firefox</application> the comment about setting Weight is still 603 valid. But setting both, <application>epiphany</application> will show bold text 604 by default, but heavy text if markup for bold is used. In both cases, neither 603 valid. But setting both, <application>Epiphany</application> will show bold 604 text by default, but it will show heavy text if markup for bold is used. In both 605 cases, neither 605 606 <application>libreOffice</application> nor <application>falkon</application> 606 607 showed bolder text. … … 902 903 </para> 903 904 904 <para> 905 <literallayout> 905 <screen role="root"> 906 906 <match target="pattern"> 907 907 <test qual="any" name="lang" compare="contains"> … … 915 915 <string>AR PL UMing CN</string> 916 916 </edit> 917 </match></literallayout>918 </para>917 </match> 918 </screen> 919 919 920 920 <para> … … 930 930 </para> 931 931 932 <para> 933 <literallayout> 932 <screen role="root"> 934 933 <match target="pattern"> 935 934 <test qual="any" name="lang" compare="contains"> … … 953 952 <string>AR PL UMing CN</string> 954 953 </edit> 955 </match> </literallayout>956 </para>954 </match> 955 </screen> 957 956 958 957 </sect2> … … 1046 1045 <application>Fontconfig</application> specify e.g. 'Sans 12', Serif 11', 1047 1046 'Mono 10' as desired. Also review the antialiasing, hinting and rgba 1048 settings. 1047 settings. Alternatively, <xref linkend="gnome-tweaks"/> can also update 1048 the font settings in a GUI form. 1049 1049 </para> 1050 1050 … … 1064 1064 1065 1065 <para> 1066 i<application>Xfce desktop</application>: The settings can be adjusted in1067 <application>Settings</application> Appearance -> Fonts. Specify your1066 <application>Xfce desktop</application>: The settings can be adjusted in 1067 <application>Settings</application>i -> Appearance -> Fonts. Specify your 1068 1068 preferred fonts, e.g. 'Sans Regular' (to use the normal face and weight 1069 1069 rather than Bold and/or Italic) and adjust the point size in the option. … … 1103 1103 </para> 1104 1104 1105 <para> 1106 <application>Thunderbird</application>: The font settings can be changed 1107 by going to "Edit -> Settings" and then scrolling down to "Fonts & 1108 Colors". 1109 </para> 1110 1105 1111 </sect2> 1106 1112
Note:
See TracChangeset
for help on using the changeset viewer.