xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Steiner" <simonsteiner1...@gmail.com>
Subject RE: Cyrrilic font in Apache FOP 1.1
Date Fri, 15 Nov 2013 19:05:24 GMT
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:et_soft@mail.ru] 
Sent: 15 November 2013 17:47
To: fop-users@xmlgraphics.apache.org
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org



---------------------------------------------------------------------
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