From Fedora Project Wiki
Description
This test case verifies that the font configuration is working correctly on Fedora system.
Setup
- Make sure
fontconfig
is installed:sudo dnf install fontconfig
. - Make sure you have a few different fonts installed for testing (e.g., DejaVu, Liberation, etc.).
How to test
- Open a text editor like LibreOffice Writer or Gedit.
- Type some text and try changing the fonts.
- Save the document and close the text editor.
- Reopen the saved document.
- Open a terminal and run
fc-list
to list available fonts. - Optionally, clear the font cache with
fc-cache -fv
and rerunfc-list
.
Expected Results
- The text editor should allow you to select from a variety of installed fonts.
- The text should appear correctly in the selected font.
- Saving, closing, and reopening the document should not alter the font selection or appearance.
- Running
fc-list
should list all installed fonts. - Clearing the font cache and rerunning
fc-list
should give the same result as before.
Optional
- Test the font behavior in other applications like web browsers or office applications.