Font Warnings in SOLR Log

Hello,

we have a lot of WARN’s in our SOLR log.

Anyone an idea how to solve these?

The lines look like:

2020-05-14 08:16:45,209 [XWiki Solr index thread] WARN o.a.p.p.f.PDTrueTypeFont - Using fallback font ‘LiberationSans’ for ‘Arial’

With kind regards
Jurjen

Hello, i have to push this topic. Especially when starting xwiki, we have a lot of these logs:

2021-03-11 18:13:52,653 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@2d26d405([solr, indexer])] INFO  o.x.s.s.i.j.IndexerJob         - Starting job of type [solr.indexer] with identifier [[solr, indexer]] 
2021-03-11 18:14:05,113 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@2d26d405([solr, indexer])] INFO  o.x.s.s.i.j.IndexerJob         - 2793 documents added, 15 deleted and 0 updated during the synchronization of the Solr index. 
2021-03-11 18:14:05,121 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@2d26d405([solr, indexer])] INFO  o.x.s.s.i.j.IndexerJob         - Finished job of type [solr.indexer] with identifier [[solr, indexer]] 
2021-03-11 18:17:01,827 [XWiki Solr index thread] WARN  a.p.p.f.FileSystemFontProvider - New fonts found, font cache will be re-built 
2021-03-11 18:17:01,828 [XWiki Solr index thread] WARN  a.p.p.f.FileSystemFontProvider - Building on-disk font cache, this may take a while 
2021-03-11 18:17:01,860 [XWiki Solr index thread] WARN  a.p.p.f.FileSystemFontProvider - Finished building on-disk font cache, found 7 fonts 
2021-03-11 18:17:01,862 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'ArialMT' 
2021-03-11 18:17:03,862 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'ArialMT' 
2021-03-11 18:18:51,231 [XWiki Solr index thread] WARN  o.a.p.p.f.PDSimpleFont         - No Unicode mapping for .notdef (0) in font null 
2021-03-11 18:18:51,231 [XWiki Solr index thread] WARN  o.a.p.p.f.PDSimpleFont         - No Unicode mapping for .notdef (1) in font null 
2021-03-11 18:18:51,232 [XWiki Solr index thread] WARN  o.a.p.p.f.PDSimpleFont         - No Unicode mapping for 2 (2) in font null 
2021-03-11 18:18:51,232 [XWiki Solr index thread] WARN  o.a.p.p.f.PDSimpleFont         - No Unicode mapping for 3 (3) in font null 
2021-03-11 18:18:51,232 [XWiki Solr index thread] WARN  o.a.p.p.f.PDSimpleFont         - No Unicode mapping for 4 (4) in font null 
2021-03-11 18:18:51,232 [XWiki Solr index thread] WARN  o.a.p.p.f.PDSimpleFont         - No Unicode mapping for 5 (5) in font null 
2021-03-11 18:18:51,232 [XWiki Solr index thread] WARN  o.a.p.p.f.PDSimpleFont         - No Unicode mapping for 6 (6) in font null 
2021-03-11 18:18:51,232 [XWiki Solr index thread] WARN  o.a.p.p.f.PDSimpleFont         - No Unicode mapping for 7 (7) in font null 
2021-03-11 18:18:51,233 [XWiki Solr index thread] WARN  o.a.p.p.f.PDSimpleFont         - No Unicode mapping for 8 (8) in font null 
2021-03-11 18:18:51,233 [XWiki Solr index thread] WARN  o.a.p.p.f.PDSimpleFont         - No Unicode mapping for 9 (9) in font null 
2021-03-11 18:18:51,233 [XWiki Solr index thread] WARN  o.a.p.p.f.PDSimpleFont         - No Unicode mapping for 10 (10) in font null 
2021-03-11 18:18:51,233 [XWiki Solr index thread] WARN  o.a.p.p.f.PDSimpleFont         - No Unicode mapping for 11 (11) in font null 
2021-03-11 18:18:51,233 [XWiki Solr index thread] WARN  o.a.p.p.f.PDSimpleFont         - No Unicode mapping for 12 (12) in font null 

There are >1300 lines of these after startup filling the logfile… What can we do to avoid/solve this?

Thanks,
Gerd

any ideas on this? Yesterdays restart of XWiki-Service took about 30 mins, mainly because of this.

Any idea what could cause this? Googling this errors only finds very old closed bugs of pdfbox and similar.
Currently we are running version 13.1

Regards,
Gerd

The log of yesterdays restart:

... normal startup before ...
2021-08-17 19:20:00,390 [XWiki initialization] INFO  .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [xwiki] 
2021-08-17 19:20:50,279 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@75acfe96([solr, indexer])] INFO  o.x.s.s.i.j.IndexerJob         - Starting job of type [solr.indexer] with identifier [[solr, indexer]] 
2021-08-17 19:21:07,042 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@75acfe96([solr, indexer])] INFO  o.x.s.s.i.j.IndexerJob         - 3198 documents added, 373 deleted and 0 updated during the synchronization of the Solr index. 
2021-08-17 19:21:07,049 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@75acfe96([solr, indexer])] INFO  o.x.s.s.i.j.IndexerJob         - Finished job of type [solr.indexer] with identifier [[solr, indexer]] 
2021-08-17 19:23:48,962 [XWiki Solr index thread] WARN  o.a.p.p.f.PDSimpleFont         - No Unicode mapping for .notdef (0) in font null 
2021-08-17 19:23:48,970 [XWiki Solr index thread] WARN  o.a.p.p.f.PDSimpleFont         - No Unicode mapping for .notdef (1) in font null 
2021-08-17 19:23:48,972 [XWiki Solr index thread] WARN  o.a.p.p.f.PDSimpleFont         - No Unicode mapping for 2 (2) in font null 

... a lot of the same missing unicode mappings, the last records of this block are the following. See the timestamps ...

2021-08-17 19:33:22,414 [XWiki Solr index thread] WARN  o.a.p.p.f.PDType1Font          - Using fallback font LiberationSans for Helvetica 
2021-08-17 19:33:22,602 [XWiki Solr index thread] WARN  o.a.p.p.f.PDType1Font          - Using fallback font LiberationSans for Helvetica 
2021-08-17 19:43:17,103 [XWiki Solr index thread] WARN  o.a.p.p.f.PDFont               - Invalid ToUnicode CMap in font DejaVuSansMono 
2021-08-17 19:43:17,119 [XWiki Solr index thread] WARN  o.a.p.p.f.PDFont               - Invalid ToUnicode CMap in font DejaVuSansMono-Bold 
2021-08-17 19:43:17,389 [XWiki Solr index thread] WARN  o.a.p.p.f.PDFont               - Invalid ToUnicode CMap in font DejaVuSansMono 
2021-08-17 19:43:17,414 [XWiki Solr index thread] WARN  o.a.p.p.f.PDFont               - Invalid ToUnicode CMap in font DejaVuSansMono-Bold 
2021-08-17 19:43:17,584 [XWiki Solr index thread] WARN  o.a.p.p.f.PDFont               - Invalid ToUnicode CMap in font DejaVuSansMono 
2021-08-17 19:43:17,598 [XWiki Solr index thread] WARN  o.a.p.p.f.PDFont               - Invalid ToUnicode CMap in font DejaVuSansMono-Bold 
2021-08-17 19:43:17,732 [XWiki Solr index thread] WARN  o.a.p.p.f.PDFont               - Invalid ToUnicode CMap in font DejaVuSansMono 
2021-08-17 19:43:17,751 [XWiki Solr index thread] WARN  o.a.p.p.f.PDFont               - Invalid ToUnicode CMap in font DejaVuSansMono-Bold 
2021-08-17 19:43:18,588 [XWiki Solr index thread] WARN  o.a.p.p.f.PDFont               - Invalid ToUnicode CMap in font DejaVuSansMono 
2021-08-17 19:43:18,598 [XWiki Solr index thread] WARN  o.a.p.p.f.PDFont               - Invalid ToUnicode CMap in font DejaVuSansMono-Bold 
2021-08-17 19:43:19,248 [XWiki Solr index thread] WARN  o.a.p.p.f.PDFont               - Invalid ToUnicode CMap in font DejaVuSansMono 
2021-08-17 19:43:19,257 [XWiki Solr index thread] WARN  o.a.p.p.f.PDFont               - Invalid ToUnicode CMap in font DejaVuSansMono-Bold 
2021-08-17 19:43:20,189 [XWiki Solr index thread] WARN  o.a.p.p.f.PDFont               - Invalid ToUnicode CMap in font DejaVuSansMono 
2021-08-17 19:43:20,210 [XWiki Solr index thread] WARN  o.a.p.p.f.PDFont               - Invalid ToUnicode CMap in font DejaVuSansMono-Bold 
2021-08-17 19:43:20,977 [XWiki Solr index thread] WARN  o.a.p.p.f.PDFont               - Invalid ToUnicode CMap in font DejaVuSansMono 
2021-08-17 19:43:20,987 [XWiki Solr index thread] WARN  o.a.p.p.f.PDFont               - Invalid ToUnicode CMap in font DejaVuSansMono-Bold 
2021-08-17 20:04:29,954 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'ArialMT' 
2021-08-17 20:04:29,955 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'Arial-BoldMT' 
2021-08-17 20:04:29,958 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'Arial-Black' 
2021-08-17 20:04:31,006 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'Arial,Bold' 
2021-08-17 20:04:31,006 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'Arial' 
2021-08-17 20:04:31,119 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'Helvetica' 
2021-08-17 20:04:31,305 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'Times New Roman,Bold' 
2021-08-17 20:04:31,342 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'Arial,BoldItalic' 
2021-08-17 20:04:31,400 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'Times New Roman' 
2021-08-17 20:04:32,508 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'ArialMT' 
2021-08-17 20:04:32,509 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'Arial-BoldMT' 
2021-08-17 20:04:32,509 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'Arial-Black' 
2021-08-17 20:04:34,251 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'Arial,Bold' 
2021-08-17 20:04:34,252 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'Arial' 
2021-08-17 20:04:34,336 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'Helvetica' 
2021-08-17 20:04:34,433 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'Times New Roman,Bold' 
2021-08-17 20:04:34,466 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'Arial,BoldItalic' 
2021-08-17 20:04:34,516 [XWiki Solr index thread] WARN  o.a.p.p.f.PDTrueTypeFont       - Using fallback font 'LiberationSans' for 'Times New Roman'

Edit: startup time had another reason, seems to be solved. But still there are this warnings in the log