Hi,
What about using
<renderers>
<renderer mime="application/pdf">
<fonts>
<font kerning="yes" embed-url="/System/Library/Fonts/Arial.ttf"
embedding-mode="subset">
<font-triplet name="Arial" style="normal" weight="normal"/>
</font>
</fonts>
</renderer>
</renderers>
http://xmlgraphics.apache.org/fop/trunk/fonts.html
Thanks
-----Original Message-----
From: Amigo [mailto:[email protected]]
Sent: 15 November 2013 17:47
To: [email protected]
Subject: Cyrrilic font in Apache FOP 1.1
I have trouble on using Apache FOP 1.1 with arial font on ubuntu.
Configuration file fonts.xml:
/ <fop version="1.0">
<base>/home/user/temp/fonts/</base>
<font-base>/home/user/temp/fonts/</font-base>
<renderers>
<renderer mime="application/pdf">
<fonts>
<font-triplet name="Arial" style="normal" weight="normal" />
<font-triplet name="ArialMT" style="normal" weight="normal" />
</fonts>
</renderer>
</renderers>
</fop>/
Also tried using this:
/<auto-detect/> /
and
/<directory>/home/user/temp/fonts/</directory>/
I am always getting:
Font "Arial,normal,700" not found. Substituting with "any,normal,700".
What should I fix in order to use Arial font?
--
View this message in context:
http://apache-fop.1065347.n5.nabble.com/Cyrrilic-font-in-Apache-FOP-1-1-tp39
595.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]