Hello Simon,

Thank you for your fast response.
I forgot to mention that also embedding directly via

> <font kerning="yes" 
> embed-url="config/xml_stylesheets/Resources/foo/Helvetica-Bold.ttf”>
>   <font-triplet name="Helvetica-Bold" style="normal" weight="bold"/>
> </font>

Doesn’t work and has the same effect.
Or am I missing an important attribute here or so?

Is it expected or known that styles like bold and italic doesn’t work with the 
directory tag?

Setting the font itself works, right? Otherwise the error message wouldn’t be 
there, is that correct?

> On 23 May 2023, at 07:54, Simon Steiner <simonsteiner1...@gmail.com> wrote:
> 
> Hi,
> 
> What about setting the font-family on the fo:root if your using pdfa.
> I would use define explicit fonts in fop.xconf rather than using directory 
> scanning.
> 
> Thanks
> 
> -----Original Message-----
> From: Alexander Adam <alexander.a...@garaio-rem.ch> 
> Sent: 22 May 2023 22:05
> To: fop-users@xmlgraphics.apache.org
> Subject: Embed different TTF font styles
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
> 

Reply via email to