- Posts: 50
- Joined: Mon Jun 27, 2011 10:51 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: java.io.IOException: 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: 447
- Joined: Mon Feb 03, 2003 10:56 am
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.