I am getting below error while reading pdf files having image and text.
Warning: fetchStandardFontData: failed to fetch file “FoxitSerif.pfb” with “UnknownErrorException: The standard font “baseUrl” parameter must be specified, ensure that the “standardFontDataUrl” API parameter is provided.”.
Warning: fetchStandardFontData: failed to fetch file “FoxitSansItalic.pfb” with “UnknownErrorException: The standard font “baseUrl” parameter must be specified, ensure that the “standardFontDataUrl” API parameter is provided.”.
Warning: fetchStandardFontData: failed to fetch file “FoxitSansBold.pfb” with “UnknownErrorException: The standard font “baseUrl” parameter must be specified, ensure that the “standardFontDataUrl” API parameter is provided.”.
Warning: fetchStandardFontData: failed to fetch file “FoxitSansBoldItalic.pfb” with “UnknownErrorException: The standard font “baseUrl” parameter must be specified, ensure that the “standardFontDataUrl” API parameter is provided.”.
Warning: fetchStandardFontData: failed to fetch file “FoxitSans.pfb” with “UnknownErrorException: The standard font “baseUrl” parameter must be specified, ensure that the “standardFontDataUrl” API parameter is provided.”.
Warning: TT: undefined function: 32
Where does that error occur in your workflow tho? Kinda weird, its indicating a failure because of no fonts found? Not sure if I have enough information to assist. Anything else you could provide? Screenshots?
Actually maybe the setup is right, and the issue is the PDF is using custom fonts, that you may need to install on the n8n instance? I am not confident of that either, as to my knowledge PDFs don’t render fonts, its just drawn elements and the elements are tied to characters “behind the scenes” if there was character mapping/OCR done.
Since I’m running n8n in a Docker container, these warnings appeared in the terminal. The PDF contains a textual image—could that be causing the issue? If so, how can this be resolved?
So the workflow fails and the errors are in the docker output? Or the workflow works and there are errors? If it works, they should be able to be ignored.