From Fedora Project Wiki

No edit summary
m (improve formatting)
Line 7: Line 7:
# Open a terminal
# Open a terminal
# Run the script using command "sh fc-test.sh"
# Run the script using command "sh fc-test.sh"
# Compare the result to [http://tagoh.fedorapeople.org/fonts/fedora-current-defaultfonts.html the font packages list]


|results=
|results=
# Compare the result to [http://tagoh.fedorapeople.org/fonts/fedora-current-defaultfonts.html the font packages list]
# Script output should match the font packages list.
# Expected result for the above script should be as below:
#* Example output for Gujarati language:
<pre>
For example, for Gujarati language:
$ sh fc-test.sh  
 
[sweta@dhcp201-186 ડાઉનલોડ]$ sh fc-test.sh  
 
sans[gu]: Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular"
sans[gu]: Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular"
serif[gu]: Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular"
serif[gu]: Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular"
monospace[gu]: Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular"
monospace[gu]: Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular"
sans[gu-in]: Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular"
sans[gu-in]: Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular"
serif[gu-in]: Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular"
serif[gu-in]: Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular"
monospace[gu-in]: Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular"
monospace[gu-in]: Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular"
 
</pre>
[sweta@dhcp201-186 ડાઉનલોડ]$


}}
}}


[[Category:I18n_Installation]]
[[Category:I18n_Installation]]

Revision as of 08:06, 7 June 2016

Description

This testcase is to check that fonts packages for your language is correctly installed. This test case is applicable only for indic and cjk languages.


How to test

  1. Log in your desktop
  2. Download a test script from http://tagoh.fedorapeople.org/fonts/fc-test.sh
  3. Open a terminal
  4. Run the script using command "sh fc-test.sh"
  5. Compare the result to the font packages list

Expected Results

  1. Script output should match the font packages list.
    • Example output for Gujarati language:
$ sh fc-test.sh 
sans[gu]: Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular"
serif[gu]: Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular"
monospace[gu]: Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular"
sans[gu-in]: Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular"
serif[gu-in]: Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular"
monospace[gu-in]: Lohit-Gujarati.ttf: "Lohit Gujarati" "Regular"