From Fedora Project Wiki

Description

This test case verifies that the font configuration is working correctly on Fedora system.

Setup

  1. Make sure fontconfig is installed: sudo dnf install fontconfig.
  2. Make sure you have a few different fonts installed for testing (e.g., DejaVu, Liberation, etc.).

How to test

  1. Open a text editor like LibreOffice Writer or Gedit.
  2. Type some text and try changing the fonts.
  3. Save the document and close the text editor.
  4. Reopen the saved document.
  5. Open a terminal and run fc-list to list available fonts.
  6. Optionally, clear the font cache with fc-cache -fv and rerun fc-list.

Expected Results

  1. The text editor should allow you to select from a variety of installed fonts.
  2. The text should appear correctly in the selected font.
  3. Saving, closing, and reopening the document should not alter the font selection or appearance.
  4. Running fc-list should list all installed fonts.
  5. Clearing the font cache and rerunning fc-list should give the same result as before.

Optional

  1. Test the font behavior in other applications like web browsers or office applications.