Confluence UI shows garbled or corrupt text on CAPTCHA, macros and/or diagrams due to missing fonts

Still need help?

The Atlassian Community is here for you.

Ask the community

This Knowledge Base article was written specifically for the Atlassian Server platform. Due to the Restricted functions in Atlassian Cloud apps, the contents of this article cannot be applied to Atlassian Cloud applications.


Following a Confluence upgrade running on an older Linux distribution, you might encounter a problem where certain system text in the application will appear to be garbled and look like symbols instead of regular alphanumeric letters.

You will not see any errors in the logs relating to the issue, however, you might see warnings about fonts in general. 

This has been observed in the following areas of Confluence


Macro headers

Inline charts and diagrams


In order to identify whether you are affected by this issue, you will need to answer the below questions:

  • Did you upgrade Confluence Server recently to a new version?
  • Are you running an older version of a Linux distribution that is behind current release cycle (possibly more than 3+ years old)?


If you answered yes to both of the above questions, you might be missing fonts on the OS level that more recent versions of Confluence depend on to render pages properly. Bug report for reference:  CONFSERVER-54067 - Getting issue details... STATUS


Workaround 1

Uninstall lyx-fonts package (Lyx/MathML fonts - A collection of Math symbol fonts for lyx)

Workaround 2

You will need to check and install the following font packages. You can use any package manager you like. For this example, we will be using yum

yum install ghostscript
yum install dejavu-fonts-common
yum install dejavu-sans-fonts
yum install dejavu-sans-mono-fonts
yum install motif

In order for Confluence to pick up the changes, please apply the below steps:

  1. Stop Confluence
  2. Rebuild the font cache by using the following command:

    fc-cache -s
  3. Clear the Confluence Plugins Cache.
  4. Perform a Content Index Rebuild.
  5. Start Confluence.
  6. Clear your browser cache and verify Confluence is presenting the text properly.
  7. If you still see garbled text, try rebooting the server, then check again.
Last modified on Jan 10, 2018

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.