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.

            [CONFSERVER-39893] Font not found warning messages when indexing PDF

            I get rid of the 

            [apache.fontbox.util.FontManager] findTTFontname Font not found: ArialBlack

            errors after using the workaround (https://confluence.atlassian.com/confkb/the-text-in-a-powerpoint-excel-or-word-document-looks-different-when-using-the-viewfile-macro-200213562.html), but not of these errors:

            [apache.fontbox.util.FontManager] findTTFontname Font not found: Helvetica

            But it seems that it is not possible to get the Helvetica fonts?

            Christian Pascher added a comment - I get rid of the  [apache.fontbox.util.FontManager] findTTFontname Font not found: ArialBlack errors after using the workaround ( https://confluence.atlassian.com/confkb/the-text-in-a-powerpoint-excel-or-word-document-looks-different-when-using-the-viewfile-macro-200213562.html ), but not of these errors: [apache.fontbox.util.FontManager] findTTFontname Font not found: Helvetica But it seems that it is not possible to get the Helvetica fonts?

            MK added a comment -

            @Morgan Howard,

            i only tested for Helvetica and Tahoma-Bold, both looked fine for me.

            tested with confluence 6.2.3 which has pdfbox-1.8.12.

            ps looks like everything above 6.x.x use the same version of pdfbox

            Regards

            MK added a comment - @Morgan Howard, i only tested for  Helvetica and  Tahoma-Bold , both looked fine for me. tested with confluence 6.2.3 which has pdfbox-1.8.12. ps looks like everything above 6.x.x use the same version of pdfbox Regards

            Morgan Howard added a comment - - edited

            Hi,

            We are seeing this in 5.10.4 as well.

            After implementing the workaround, we still see log errors for:

            • Helvetica and related variations (e.g. Helvetica-45)
            • Tahoma-Bold
            • Symbol and SymbolMT

            Questions:

            • Is this fixed in new versions of Confluence? 
            • Has pdfbox been upgraded in newer versions of Confluence?  If so, which version?

            Thanks.

            Morgan Howard added a comment - - edited Hi, We are seeing this in 5.10.4 as well. After implementing the workaround, we still see log errors for: Helvetica and related variations (e.g. Helvetica-45) Tahoma-Bold Symbol and SymbolMT Questions: Is this fixed in new versions of Confluence?  Has pdfbox been upgraded in newer versions of Confluence?  If so, which version? Thanks.

            Thank you michael.krause, I have added the workaround to the description of this bug.  Cheers!

            Brendan McNamara added a comment - Thank you michael.krause , I have added the workaround to the description of this bug.  Cheers!

            MK added a comment -

            MK added a comment - Heyho, the following workaround worked for me: https://confluence.atlassian.com/confkb/the-text-in-a-powerpoint-excel-or-word-document-looks-different-when-using-the-viewfile-macro-200213562.html Regards

            AM added a comment -

            I'm getting this on Confluence 6.0.2 with Arial Narrow font:

            2017-02-02 11:44:47,836 WARN [Indexer: 3] [apache.fontbox.util.FontManager] findTTFontname Font not found: ArialNarrow

            AM added a comment - I'm getting this on Confluence 6.0.2 with Arial Narrow font: 2017-02-02 11:44:47,836 WARN [Indexer: 3] [apache.fontbox.util.FontManager] findTTFontname Font not found: ArialNarrow

            April added a comment -

            If updating the pdfbox version doesn't seem practical at this time, perhaps you could just suppress the log messages?

            I personally am not looking for any fonts, and could care less whether or not they are found, but would very much like to reduce my daily allowance of crap in the log

            April added a comment - If updating the pdfbox version doesn't seem practical at this time, perhaps you could just suppress the log messages? I personally am not looking for any fonts, and could care less whether or not they are found, but would very much like to reduce my daily allowance of crap in the log

            I see in 5.10.1 as well.

            Pranjal Shukla added a comment - I see in 5.10.1 as well.

            Issue still takes place on 5.9 and the latest 5.10.4

            Cprime Apps added a comment - Issue still takes place on 5.9 and the latest 5.10.4

            PDFBox v2.0 was released in March 2016. Current version is v2.0.2

            Mark Symons added a comment - PDFBox v2.0 was released in March 2016. Current version is v2.0.2

              fxu Feng Xu (Inactive)
              rgadami Rodrigo Girardi Adami
              Affected customers:
              40 This affects my team
              Watchers:
              50 Start watching this issue

                Created:
                Updated:
                Resolved: