From Fedora Project Wiki
(Initial testcase) |
m (missed some template) |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | |||
|description=This testcase is to check that fonts packages for your language is correctly installed. | |||
|actions= | |||
# Log in your desktop | |||
# Open a terminal | |||
# Run either <code><nowiki>fc-match sans:lang=$(echo $LANG|sed -e 's/^\(.*\)_.*/\1/')</nowiki></code> or <code><nowiki>fc-match sans:lang=$(echo $LANG`|`sed -e 's/_/-/g' -e 's/\..*//g')</nowiki></code> according to your current locale | # Run either <code><nowiki>fc-match sans:lang=$(echo $LANG|sed -e 's/^\(.*\)_.*/\1/')</nowiki></code> or <code><nowiki>fc-match sans:lang=$(echo $LANG`|`sed -e 's/_/-/g' -e 's/\..*//g')</nowiki></code> according to your current locale | ||
# Similarly for serif: Run either <code><nowiki>fc-match serif:lang=$(echo $LANG|sed -e 's/^\(.*\)_.*/\1/')</nowiki></code> or <code><nowiki>fc-match serif:lang=$(echo $LANG|sed -e 's/_/-/g' -e 's/\..*//g')</nowiki></code> according to your current locale | # Similarly for serif: Run either <code><nowiki>fc-match serif:lang=$(echo $LANG|sed -e 's/^\(.*\)_.*/\1/')</nowiki></code> or <code><nowiki>fc-match serif:lang=$(echo $LANG|sed -e 's/_/-/g' -e 's/\..*//g')</nowiki></code> according to your current locale |
Revision as of 12:03, 20 December 2010
Description
This testcase is to check that fonts packages for your language is correctly installed.
How to test
- Log in your desktop
- Open a terminal
- Run either
fc-match sans:lang=$(echo $LANG|sed -e 's/^\(.*\)_.*/\1/')
orfc-match sans:lang=$(echo $LANG`|`sed -e 's/_/-/g' -e 's/\..*//g')
according to your current locale - Similarly for serif: Run either
fc-match serif:lang=$(echo $LANG|sed -e 's/^\(.*\)_.*/\1/')
orfc-match serif:lang=$(echo $LANG|sed -e 's/_/-/g' -e 's/\..*//g')
according to your current locale - Similarly for monospace: Run either
fc-match monospace:lang=$(echo $LANG|sed -e 's/^\(.*\)_.*/\1/')
orfc-match monospace:lang=$(echo $LANG|sed -e 's/_/-/g' -e 's/\..*//g')
according to your current locale
Expected Results
- Compare the result to the font packages list (TBD)