[ 
https://issues.apache.org/jira/browse/FOP-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Luc Duchosal Apache updated FOP-2332:
-------------------------------------
    Attachment: optimze-resources.txt

optimze-resources set to true provoke a NullPointerException


> 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: renderer/ps
>    Affects Versions: 1.1, trunk
>            Reporter: Nik Lutz
>            Priority: Minor
>         Attachments: embeddefontbug1.fo, embeddefontbug1.fo.pdf, 
> embeddefontbug1.fo.ps, fop.xconf, optimze-resources.txt
>
>
> 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.3.4#6332)

Reply via email to