Hi Team,
I am having trouble getting arabic displayed in my PDF. I have fop setup on
a Linux system.

my XML contains
 <?xml version="1.0" encoding="utf-8" ?> 
- <EXP ReportTitle="Stock Expiry Date Enquiry Report" timestamp="02 Jun 2011
20:48" username="" datefrom="" dateto="">
- <Location LocDesc="">
  <Details ItemCode="" ItemDesc="" UOMDesc="" qty="" BatchNo=""
ExpDateODBC="" arb="ن كيان الدولة وامنه" /> 
  </Location>
  </EXP>

fonts in the dir
-rw-rw-r-- 1 cachesys cachegrp  77568 Jun  2 20:19 afridyah.ttf
-rw-rw-r-- 1 cachesys cachegrp 751104 Jun  2 18:52 arialbd.ttf
-rw-rw-r-- 1 cachesys cachegrp 563800 Jun  2 18:52 arialbi.ttf
-rw-rw-r-- 1 cachesys cachegrp 557760 Jun  2 18:52 ariali.ttf
-rw-rw-r-- 1 cachesys cachegrp  64416 Jun  2 18:38 arialmt.ttf
-rw-rw-r-- 1 cachesys cachegrp 774476 Jun  2 18:52 arial.ttf
-rw-rw-r-- 1 cachesys cachegrp  69464 Jun  2 19:52 symbol.ttf

and font.xconf  has

 <renderers>
    <renderer mime="application/pdf">
      <filterList>
        <!-- provides compression using zlib flate (default is on) -->
        <value>flate</value>

        <!-- encodes binary data into printable ascii characters (default
off)
             This provides about a 4:5 expansion of data size -->
        <!-- <value>ascii-85</value> -->

        <!-- encodes binary data with hex representation (default off)
             This filter is not recommended as it doubles the data size -->
        <!-- <value>ascii-hex</value> -->
      </filterList>

      <fonts>
        <!-- register a particular font -->
        <!--
         
            <font-triplet name="SimHei" style="normal" weight="normal"/>
         
        -->

        <!-- embedded fonts -->
        <directory>/usr/share/fonts/trak</directory>
         <!-- automatically detect operating system installed fonts -->
         <!-- <auto-detect/> -->
      </fonts>

      <!-- This option lets you specify additional options on an XML handler
-->
      <!--xml-handler namespace="http://www.w3.org/2000/svg";>
        <stroke-text>false</stroke-text>
      </xml-handler-->

    </renderer>


But, when the PDF is rendered, the arabic text is displayed as ######...
Please help.
-- 
View this message in context: 
http://old.nabble.com/Arabic-Font-in-FOP-tp31759175p31759175.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]

Reply via email to