How can I stop Apache FOP leaking in missing fonts to my PDF #4103
-
Hi, the followings fonts are leaking into my PDF file. I don't have these fonts and they are not mentioned in my
I have to provide a PDF/X-compatible file. For certain reasons, font auto-detection in Apache FOP is deactivated in my I tried to explicitly exclude them in my Update 1: I have now learned that these fonts are, so-called, base14 fonts. To learn a little bit about the history, you should read this interesting article The Scourge of Arial - Mark Simonson (February 21st, 2001). In a PDF/X file, all fonts need to be embedded, including the base14 fonts. These fonts are, for example, shipped with Ghostscript, you can find them in this Ghostscript Git repository: git.ghostscript.com/?p=user/tor/core35.git.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The solution to be able to convert the file to a compliant PDF/X4 file with Adobe Acrobat Preflight was to embed the full fonts, not only a subset. I needed to set the <font kerning="yes" embed-url="Simsun.ttf" embedding-mode="full">
<font-triplet name="Simsun" style="normal" weight="normal"/>
</font> |
Beta Was this translation helpful? Give feedback.
The solution to be able to convert the file to a compliant PDF/X4 file with Adobe Acrobat Preflight was to embed the full fonts, not only a subset. I needed to set the
embedding-mode
attribute tofull
in myfop.xconf
. Beforehand, Adobe Acrobat scrambled the text in the document.