Uploaded image for project: 'Confluence Server'
  1. Confluence Server
  2. CONFSERVER-39893

Font not found warning messages when indexing PDF

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 5.8.15, Cloud, 5.10.7
    • Fix Version/s: 6.4.0
    • Component/s: Search - Core
    • Labels:
    • Symptom Severity:
      Minor
    • UIS:
      18
    • Support reference count:
      24
    • Sprint:
      honeybee, insect, jitterbug, katipo, ladybird, march fly larva
    • Testing Notes:
      Hide

      First reproduce the warning message with the attachment, next launch a new confluence instance with the branch having pdfbox 2.0.6, then verify the warning message does not show anymore. In addition to that, do the regression test for the functions related to pdfbox.

      Show
      First reproduce the warning message with the attachment, next launch a new confluence instance with the branch having pdfbox 2.0.6, then verify the warning message does not show anymore. In addition to that, do the regression test for the functions related to pdfbox.
    • Occurrence Factor:
      10%
    • QA Kickoff Status:
      Done

      Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Confluence is throwing warning messages regarding font not found when performing the index of the instance:

      WARN [Indexer: 4] [apache.fontbox.util.FontManager] findTTFontname Font not found: Times New Roman,Italic
      

      This warning happens to other fonts as well, not limited to only Times new roman.

      WARN [Indexer: 2] [apache.fontbox.util.FontManager] findTTFontname Font not found: Arial-ItalicMT
      

      I could locate this bug report for the pdf font box: https://issues.apache.org/jira/browse/PDFBOX-2110

      Seems to be fixed in pdfbox 2.0.0 version. Confluence 5.8.10 is currently using pdfbox 1.8.10.

       

      Workaround

      Install the missing fonts using steps described in the following KB article:
      https://confluence.atlassian.com/confkb/the-text-in-a-powerpoint-excel-or-word-document-looks-different-when-using-the-viewfile-macro-200213562.html

      Possible fix
      Upgrade to pdfbox 2.0.0.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                40 Vote for this issue
                Watchers:
                54 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Last commented:
                  40 weeks, 5 days ago