PDFA - Problem with embedding of fonts when fo document contains more than 1 page

View: New views
2 Messages — Rating Filter:   Alert me  

PDFA - Problem with embedding of fonts when fo document contains more than 1 page

by G, Sivashankar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi All,

 

I am trying to generate PDFA-1b document with FOP by feeding an xml and xsl file as input. When i run,  the document gets generated successfully in PDFA mode. But when the content of the xsl file exceeds one page(more than one apge sequence), the processor throws PDFConformanceException saying "For PDF/A-1b, all fonts, even the base 14 fonts, have to be embedded! Offending font: Times-Roman". I am also giving the console output below.

 

 

Oct 21, 2009 12:02:18 PM org.apache.fop.apps.FopFactoryConfigurator configure

INFO: Default page-height set to: 29.7cm

Oct 21, 2009 12:02:18 PM org.apache.fop.apps.FopFactoryConfigurator configure

INFO: Default page-width set to: 21cm

Oct 21, 2009 12:02:18 PM org.apache.fop.fonts.truetype.TTFFile determineAscDesc

WARNING: Ascender and descender together are larger than the em box. This could lead to a wrong baseline placement in Apache FOP.

Oct 21, 2009 12:02:18 PM org.apache.fop.layoutmgr.table.TableLayoutManager getNextKnuthElements

INFO: table-layout="fixed" and width="auto", but auto-layout not supported => assuming width="100%"

org.apache.fop.pdf.PDFConformanceException: For PDF/A-1b, all fonts, even the base 14 fonts, have to be embedded! Offending font: Times-Roman

 

 

The strange thing is that this problem does not occur if my xsl page content is only in one page. If you guys have any ideas to share, it would be great.

 

Thanks and regards,

Sivashankar

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message..





Re: PDFA - Problem with embedding of fonts when fo document contains more than 1 page

by Jeremias Maerki-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've just answered you on fop-users@...:
http://markmail.org/message/3pw372sdxoiuup2u

On 21.10.2009 17:26:59 G, Sivashankar wrote:

> Hi All,
>
> I am trying to generate PDFA-1b document with FOP by feeding an xml and xsl file as input. When i run,  the document gets generated successfully in PDFA mode. But when the content of the xsl file exceeds one page(more than one apge sequence), the processor throws PDFConformanceException saying "For PDF/A-1b, all fonts, even the base 14 fonts, have to be embedded! Offending font: Times-Roman". I am also giving the console output below.
>
>
> Oct 21, 2009 12:02:18 PM org.apache.fop.apps.FopFactoryConfigurator configure
> INFO: Default page-height set to: 29.7cm
> Oct 21, 2009 12:02:18 PM org.apache.fop.apps.FopFactoryConfigurator configure
> INFO: Default page-width set to: 21cm
> Oct 21, 2009 12:02:18 PM org.apache.fop.fonts.truetype.TTFFile determineAscDesc
> WARNING: Ascender and descender together are larger than the em box. This could lead to a wrong baseline placement in Apache FOP.
> Oct 21, 2009 12:02:18 PM org.apache.fop.layoutmgr.table.TableLayoutManager getNextKnuthElements
> INFO: table-layout="fixed" and width="auto", but auto-layout not supported => assuming width="100%"
> org.apache.fop.pdf.PDFConformanceException: For PDF/A-1b, all fonts, even the base 14 fonts, have to be embedded! Offending font: Times-Roman
>
>
> The strange thing is that this problem does not occur if my xsl page content is only in one page. If you guys have any ideas to share, it would be great.
>
> Thanks and regards,
> Sivashankar
> </PRE><p style="font-family:arial;color:grey" style="font-size:13px">This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.</p><PRE>




Best regards,
Jeremias Märki
_________________________________________________________
Jeremias Märki, Software-Development and Consulting
Contact Information: http://www.jeremias-maerki.ch/contact.html
Blog: http://www.jeremias-maerki.ch/blog/