Stop font load error

Posts: 54
Joined: Mon Jun 27, 2011 10:51 pm

Stop font load error

Post by bloodnok » Mon Dec 16, 2019 10:47 pm

Running Chemistry, I see the following error

Code: Select all

[exec] WARN org.apache.fop.apps.FOUserAgent - Unable to load font file: file:/System/Library/Fonts/Apple%20Color%20Emoji.ttc. Reason: Font is too large. If you need this font in your PDF, see the userguide about increasing the maximum memory size for the publishing process. The font file size was: 207931344 bytes
I've no interest in Emoji fonts (I'd delete them from my machine if Apple hadn't made them a system requirement). How do I tell Chemistry not to try loading them?


Posts: 484
Joined: Mon Feb 03, 2003 10:56 am

Re: Stop font load error

Post by Dan » Tue Dec 17, 2019 4:33 pm


This is just a warning, has no effect on the publishing.

In any case, there is a chemistry-fop.xconf file (you can try a recursive search in the installation folder) in which you can change the way the system fonts are scanned. You can remove the <auto-detect/> element from it. Be aware that all the fonts referred from your customization CSS should be relative to the CSS, defined with @font-face. You should not use any system font in this case.

Many regards,

Post Reply