Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-54067

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Answered
    • High
    • None
    • 6.2.1, 6.3.4, 6.4.0, 6.5.2, 6.6.0
    • Server - Platform

    Description

      Macro header shows garbled text and weird symbols in Linux. Captcha appears warped and unreadable.

      Environment
      1. Linux distributions, especially RedHat (RHEL)  and CentOS
      2. Confluence v6 and above
      Steps to reproduce
      1. Insert any macro having a title, like the Panel Macro
      Expected Behavior

      Macro header (the name of the macro) renders properly

      Actual Behavior

      Strange characters appear in place of the macro name.

      Workaround
      1. Stop Confluence
      2. Make one or both of the following changes:
      3. Rebuild the font cache by using the following command:
        fc-cache -s
        
      4. Clear the plugin cache as described at How to clear Confluence plugins cache
      5. Rebuild the content index as described at How to Rebuild the Content Indexes From Scratch on Confluence Server
      6. Start Confluence
      7. Clear browser cache and verify fonts are displayed correctly
      Notes

      Confluence requires some fonts to work in Linux distributions that are not included in the installation package or in the documentation as a requirement.

      In some cases, the workaround also works for file previews such as Office files and PDF.

      Attachments

        1. macro-garbled.png
          28 kB
          Zulfarhan Zakaria

        Issue Links

          Activity

            People

              glipatov George Lipatov
              mzakaria@atlassian.com Zulfarhan Zakaria (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: