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.

          Form Name

            [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

            Same issue in 5.9.10

            Nina Daalmann added a comment - Same issue in 5.9.10

            This is still happening on Confluence 5.9.8. I just upgraded from 5.7 earlier today and reindexed and its showing.

            Chris Whitten [Comskil] added a comment - This is still happening on Confluence 5.9.8. I just upgraded from 5.7 earlier today and reindexed and its showing.

            April added a comment -

            Looks like pdfbox 2 is still in the release candidate stage, but I do hope the final release will be included in Confluence.

            Meanwhile, is there a way to reduce logging for this problem, without losing details about other pdfbox issues?

            Thanks

            April added a comment - Looks like pdfbox 2 is still in the release candidate stage, but I do hope the final release will be included in Confluence. Meanwhile, is there a way to reduce logging for this problem, without losing details about other pdfbox issues? Thanks

            Confluence 5.8.17 has the same 'undocumented feature' too ...

            {{2016-03-01 12:06:34,316 WARN [Indexer: 3] [apache.fontbox.util.FontManager] findTTFontname Font not found: ArialMT
            – referer: <URL>/admin/search-indexes.action | url: /admin/reindex.action | userName: <USERNAME> | action: reindex
            }}

            KVB Collab Team added a comment - Confluence 5.8.17 has the same 'undocumented feature' too ... {{2016-03-01 12:06:34,316 WARN [Indexer: 3] [apache.fontbox.util.FontManager] findTTFontname Font not found: ArialMT – referer: <URL>/admin/search-indexes.action | url: /admin/reindex.action | userName: <USERNAME> | action: reindex }}

            Attempting to upgrade to Confluence 5.8.18 Data Center and have this same issue:

            2015-12-11 21:38:57,222 WARN [http-nio-8081-exec-1] [apache.fontbox.util.FontManager] findTTFontname Font not found: ArialMT
             -- referer: http://icwikis02.ndc.nasa.gov:8081/confluence/admin/viewindexqueue.action | url: /confluence/admin/flushindexqueue.action | userName: wikiadmin | action: flushindexqueue
            2015-12-11 21:39:00,789 WARN [http-nio-8081-exec-1] [apache.fontbox.util.FontManager] findTTFontname Font not found: TimesNewRomanPS-BoldMT
             -- referer: http://icwikis02.ndc.nasa.gov:8081/confluence/admin/viewindexqueue.action | url: /confluence/admin/flushindexqueue.action | userName: wikiadmin | action: flushindexqueue
            2015-12-11 21:39:01,397 WARN [http-nio-8081-exec-1] [apache.fontbox.util.FontManager] findTTFontname Font not found: ArialMT
             -- referer: http://icwikis02.ndc.nasa.gov:8081/confluence/admin/viewindexqueue.action | url: /confluence/admin/flushindexqueue.action | userName: wikiadmin | action: flushindexqueue
            
            

            Stephen Gramm added a comment - Attempting to upgrade to Confluence 5.8.18 Data Center and have this same issue: 2015-12-11 21:38:57,222 WARN [http-nio-8081-exec-1] [apache.fontbox.util.FontManager] findTTFontname Font not found: ArialMT -- referer: http://icwikis02.ndc.nasa.gov:8081/confluence/admin/viewindexqueue.action | url: /confluence/admin/flushindexqueue.action | userName: wikiadmin | action: flushindexqueue 2015-12-11 21:39:00,789 WARN [http-nio-8081-exec-1] [apache.fontbox.util.FontManager] findTTFontname Font not found: TimesNewRomanPS-BoldMT -- referer: http://icwikis02.ndc.nasa.gov:8081/confluence/admin/viewindexqueue.action | url: /confluence/admin/flushindexqueue.action | userName: wikiadmin | action: flushindexqueue 2015-12-11 21:39:01,397 WARN [http-nio-8081-exec-1] [apache.fontbox.util.FontManager] findTTFontname Font not found: ArialMT -- referer: http://icwikis02.ndc.nasa.gov:8081/confluence/admin/viewindexqueue.action | url: /confluence/admin/flushindexqueue.action | userName: wikiadmin | action: flushindexqueue

            We just upgraded to Confluence 5.8.16 and we're seeing a similar error:

            2015-11-20 17:17:37,364 WARN [scheduler_Worker-3] [apache.fontbox.util.FontManager] findTTFontname Font not found: Times New Roman

            Teresa

            Teresa Hollidge added a comment - We just upgraded to Confluence 5.8.16 and we're seeing a similar error: 2015-11-20 17:17:37,364 WARN [scheduler_Worker-3] [apache.fontbox.util.FontManager] findTTFontname Font not found: Times New Roman Teresa

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

                Created:
                Updated:
                Resolved: