If you don't get an error with a font file that does not exist in your configuration file, that just means the configuration file is not being used. Are you sure the config file is really being loaded?

On 11/16/13, 4:06 AM, Amigo wrote:

Dit not help. Same problem. :(

Interesting, if i change font name, FOP dot't write any error, like 'file not found'. Is it normal?

<font kerning="yes" embed-url="/home/name/temp/fonts/arial121334.ttf" embedding-mode="subset">
    <font-triplet name="Arial" style="normal" weight="normal"/>


2013/11/16 Simon Steiner [via Apache FOP] <[hidden email]>
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:[hidden email]]
Sent: 15 November 2013 17:47
To: [hidden email]
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: [hidden email]
For additional commands, e-mail: [hidden email]



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




If you reply to this email, your message will be added to the discussion below:
http://apache-fop.1065347.n5.nabble.com/Cyrrilic-font-in-Apache-FOP-1-1-tp39595p39599.html
To unsubscribe from Cyrrilic font in Apache FOP 1.1, click here.
NAML



View this message in context: Re: Cyrrilic font in Apache FOP 1.1
Sent from the FOP - Users mailing list archive at Nabble.com.