[ 
https://issues.apache.org/jira/browse/FOP-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13882871#comment-13882871
 ] 

Chris Bowditch commented on FOP-2332:
-------------------------------------

In addition to what Luis requested I would add the following:

In order for an accurate subset of glyphs to be created, normally the following 
element needs to be added to the fop.xconf file:

<optimize-resources>true</optimize-resources>

This option tells FOP to scan the entire document again to refine font and 
image usage. In my experience that also corrects the problems with faulty 
subsets being created.

Thanks,

Chris

> PS renderer does not embed fonts-glyphs for characters not present on the 
> first page
> ------------------------------------------------------------------------------------
>
>                 Key: FOP-2332
>                 URL: https://issues.apache.org/jira/browse/FOP-2332
>             Project: Fop
>          Issue Type: Bug
>          Components: ps
>    Affects Versions: 1.1, trunk
>            Reporter: Nik Lutz
>            Priority: Minor
>
> Documents with multiple pages cannot be generated safely using  embedded 
> fonts because not all character/glyphs are embedded in the document.
> While debugging I discovered that the postscript renderer embeds/writes the 
> font-glyphs after parsing the first page. After parsing/writing any adjacent 
> page the imbedded  is not updated (the FontInfo object would reference the 
> additional characters), so any character not present on the first page cannot 
> be displayed properly because the glyphs are not embedded.
> Unfortunately setting EmbeddingMode to FULL did not work as workaround for me.
> regards nik lutz



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to