From Fedora Project Wiki

No edit summary
(default installed is dnf now)
 
Line 3: Line 3:


|actions=
|actions=
# yum install fonts-tweak-tool
# dnf install fonts-tweak-tool
# Run fonts-tweak-tool
# Run fonts-tweak-tool
# Try to set some preferred fonts for a particular language
# Try to set some preferred fonts for a particular language

Latest revision as of 11:15, 7 September 2015

Description

This feature provides a tool for customizing fonts per language on desktops using fontconfig. The user requirements of desktop fonts are diverse, no single configuration can satisfy all user requirements.


How to test

  1. dnf install fonts-tweak-tool
  2. Run fonts-tweak-tool
  3. Try to set some preferred fonts for a particular language
  4. Check the generated font configuration 000-fontstweak-ezfc.conf in $HOME/.config/fontconfig/conf.d/
  5. Test rendering of text for that language/locale in gedit etc.
  6. Test fc-match:
    1. fc-match sans-serif:lang=<target language like en and zh-cn>
    2. fc-match serif:lang=<target language like hi-in and ja>
    3. fc-match monospace:lang=<target language like fr and pt-br>

Expected Results

The font that you specified with fonts-tweak-tool should be used for that language.