From Fedora Project Wiki
No edit summary |
(default installed is dnf now) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|actions= | |actions= | ||
# | # 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 | # 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= | ||
The font that you specified with fonts-tweak-tool should be used for that language. | |||
}} | }} | ||
[[Category: | [[Category:Package_fonts-tweak-tool_test_cases]] | ||
[[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
- dnf install fonts-tweak-tool
- Run fonts-tweak-tool
- Try to set some preferred fonts for a particular language
- 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 fc-match:
- fc-match sans-serif:lang=<target language like en and zh-cn>
- fc-match serif:lang=<target language like hi-in and ja>
- 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.