xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Terence M. Bandoian" <tere...@tmbsw.com>
Subject Re: referencing fonts in pdf and embedding them in pdf-a with one fop.xconf
Date Fri, 22 Mar 2013 22:16:23 GMT
On 3/22/2013 6:49 AM, Francesco Nigro wrote:
>
> Hi all,
>
> I’m trying to create one fop.xconfig so that fonts are automatically 
> embedded in pdf-A and referenced in pdf.
>
> I defined the tag <referenced-fonts> and also the embed-url attribute 
> but referenced-fonts always prevails and pdf-a generation fails with 
> this error:
>
> org.apache.fop.pdf.PDFConformanceException: For PDF/A-1b, all fonts 
> have to be embedded!
>
> My config is:
>
> <fonts>
>
> <referenced-fonts>
>
> <match font-family="Arial"/>
>
> </referenced-fonts>
>
> <font kerning="yes" embed-url="ARIALUNI.TTF">
>
> <font-triplet name="Arial" style="normal" weight="normal"/>
>
> <font-triplet name="any" style="normal" weight="normal"/>
>
> </font>
>
> </fonts>
>
> I have read the manual pages and searched online but I didn’t find a 
> clear answer;
>
> there is a way to do that with just one config file?
>
> Thank you very much
>

Hi, Francesco-

I'm not sure if there is. I used two config files in a similar situation.

-Terence Bandoian


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message