From Fedora Project Wiki

m (missed some template)
No edit summary
Line 4: Line 4:
# Log in your desktop
# Log in your desktop
# Open a terminal
# 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 <code>fc-match sans:lang=''language''</code>
# 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 <code>fc-match serif:lang=''language''</code>
# Similarly for monospace: Run either <code><nowiki>fc-match monospace:lang=$(echo $LANG|sed -e 's/^\(.*\)_.*/\1/')</nowiki></code> or <code><nowiki>fc-match monospace:lang=$(echo $LANG|sed -e 's/_/-/g' -e 's/\..*//g')</nowiki></code> according to your current locale
# Similarly for monospace: Run <code>fc-match monospace:lang=''language''</code>
 
You can pick one up from the [https://translate.fedoraproject.org/languages/ languages list] for ''language'' according to your login locale and use it after replacing '_' with '-' as needed.
|results=
|results=
# Compare the result to the font packages list (TBD)
# Compare the result to the font packages list (TBD)

Revision as of 07:14, 21 December 2010

Description

This testcase is to check that fonts packages for your language is correctly installed.


How to test

  1. Log in your desktop
  2. Open a terminal
  3. Run fc-match sans:lang=language
  4. Similarly for serif: Run fc-match serif:lang=language
  5. Similarly for monospace: Run fc-match monospace:lang=language

You can pick one up from the languages list for language according to your login locale and use it after replacing '_' with '-' as needed.

Expected Results

  1. Compare the result to the font packages list (TBD)