From Fedora Project Wiki

No edit summary
(default installed is dnf now)
 
(4 intermediate revisions by one other user not shown)
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
# Check the generated font configuration 000-fontstweak-ezfc.conf on $HOME/.config/fontconfig/conf.d/
# Check the generated font configuration 000-fontstweak-ezfc.conf in $HOME/.config/fontconfig/conf.d/
# Test rendering of text for that language/locale in gedit etc.
# Test rendering of text for that language/locale in gedit etc.
# Test fc-match:
# Test fc-match:
Line 14: Line 14:


|results=
|results=
see if they use the certain fonts you are set on fonts-tweak-tool.
The font that you specified with fonts-tweak-tool should be used for that language.
}}
}}


[[Category:Package_fonts-tweak-tool_test_cases]]
[[Category:Package_fonts-tweak-tool_test_cases]]
[[Category:I18n_Desktop]]
[[Category:I18n_Desktop]]

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.