Skip to content

How can I stop Apache FOP leaking in missing fonts to my PDF #4103

Answered by stefan-jung
stefan-jung asked this question in Q&A
Discussion options

You must be logged in to vote

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 to full in my fop.xconf. Beforehand, Adobe Acrobat scrambled the text in the document.

<font kerning="yes" embed-url="Simsun.ttf" embedding-mode="full">
    <font-triplet name="Simsun" style="normal" weight="normal"/>
</font>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by stefan-jung
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant