Changeset 1307636 for x/installing/tuning-fontconfig.xml
- Timestamp:
- 11/29/2023 08:31:29 AM (10 months ago)
- Branches:
- 12.1, 12.2, gimp3, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, trunk, xry111/for-12.3, xry111/llvm18, xry111/spidermonkey128
- Children:
- f57d8fc
- Parents:
- 82ea9e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/installing/tuning-fontconfig.xml
r82ea9e2 r1307636 42 42 Unfortunately, some of the terminology is ambiguous (e.g. 'font face' can 43 43 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. 45 47 </para> 46 48 … … 149 151 150 152 <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>, 152 155 particularly if you are interested in overriding which font will be 153 156 chosen. 'TYPE' should be one of serif, sans-serif or monospace. … … 349 352 350 353 <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, 352 356 Indic scripts) are dealt with in <filename>65-nonlatin.conf</filename>. 353 357 These are again nominally grouped as Serif, Sans-Serif, Monospace. Of the … … 415 419 416 420 <para> 417 For 'fantasy' there are no free fonts, so Fontconfig will fall back to418 sans-serif.421 For 'fantasy' there are no free fonts, so 422 <application>Fontconfig</application> will fall back to sans-serif. 419 423 </para> 420 424 421 425 <para> 422 426 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. 424 429 </para> 425 430 … … 786 791 with an old conf file preferring it for zh-tw and zh-hk language 787 792 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. 789 795 The conf file needs to be edited to current style and will then be 790 796 prepended, so specifying UMing does not belong in this … … 983 989 to your local machine. As shiped it will use your default Serif font assuming 984 990 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 986 993 from your desktop browser. You can also use it to look at a font with only 987 994 two installed weights, e.g. for testing to see if you prefer other weights. … … 1018 1025 1019 1026 <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> 1021 1029 to find fonts but may override certain things. 1022 1030 </para> 1023 1031 1024 1032 <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 1034 1045 <application>lxqt-config-appearance</application>. 1035 1046 </para> 1036 1047 1037 1048 <para> 1038 KDE Plasma: The settings can be adjusted in <application>System1039 Settings</application> under Appearance -> Fonts. This will create or modify1040 <filename>~/.config/fontconfig/fonts.conf</filename> although1041 <filename>~/.config/fontconfig/fonts.conf</filename>, if installed, can1042 override that.1043 </para> 1044 1045 <para> 1046 Xfce desktop: The settings can be adjusted in1049 <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 1047 1058 <application>Settings</application> Appearance -> Fonts. Specify your 1048 1059 preferred fonts, e.g. 'Sans Regular' (to use the normal face and weight … … 1052 1063 1053 1064 <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. 1059 1071 <!-- FIXME : Ken - when merging, add note in packages to update this when next ESR 1060 1072 series is used --> … … 1062 1074 1063 1075 <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. 1078 1094 </para> 1079 1095
Note:
See TracChangeset
for help on using the changeset viewer.