Hello!

I suggest you use fop configuration file with -c option?

1. Did you try relative or absolute paths within <font
embed-url="_your_font_name_"> element for fonts? By reading your error
text - seems relative.

2. If relative - what value did you use within <font-base></font-base>
option - relative or absolute?

Try to use absolute paths (either in a complex way:
font-base+embed-url or just in simple form: absolute URL within
embed-url).

2016-01-25 13:19 GMT+03:00 Bennani Meryem <[email protected]>:
> Hello,
> I'm facing an issue after I migrate from fop 0.95 to 1.1.
> It seems like it cannot read the path to custom fonts.
> It throws the exception below :
>
>  org.apache.fop.apps.FOPException: Failed to resolve font with embed-url
> 'fonts/arial.ttf'
>
> Can you help me ?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to