FontConfig error

I created a web app that runs at Once a product is selected the user can get a pdf with either a data sheet or installation instructions. It seems to work OK except that after I have started the app in Terminal, Fontconfig error: Cannot load default config file appears in the Terminal window after I generate a pdf. The pdfs only use arial and times fonts and they are specified with PDFDocument.StandardFontNames.Arial and PDFDocument.StandardFontNames.Times whereever needed.

fc-list | grep "Arial" returns a list of the arial fonts in /usr.share/fonts/msttcore directory with similar results for the times fonts.

I am inclined to disregard the error message as everything else seems to work, but my Linux skills are very limited and I don’t want it crashing and not knowing about it until a customer calls.

A google search is your friend:

1 Like