In the process of using Apache PDFBox, the warning message is reported because there is no stsong-light font in the Linux environment
(pdcidfonttype0.java:147)-Using fallback ukaicn for cid-keyed font stsong-light
Search learned that this is an OpenType font introduced by Adobe, and found the suspect font adobesongstd-light.otf in Adobe's installation directory, copy the file to the Linux/usr/share/fonts directory, Because PDFBox will update the font-cache itself, so there is no manual update Font-cache, but ADOBESONGSTD-LIGHT.OTF is not stsong-light,warn information changed to
(pdcidfonttype0.java:147)-Using fallback adobesongstd-light for cid-keyed font stsong-light
Renaming the Adobesongstd-light.otf file to STSONG-LIGHT.OTF is still unresolved, using notepad++ to open the file, there is a lot of adobesongstd-light information in the content, it seems blocked.
Then change the direction to set the log4j log level, refer to http://blog.csdn.net/zmx729618/article/details/51260803, and adjust the log level of your own project code to info. Set the log level of the third-party jar package to error resolution.
Using Apache PDFBox: Set the log level from Linux installation fonts to log4j