You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "ramakanthreddy (JIRA)" <ji...@apache.org> on 2014/07/17 10:43:05 UTC

[jira] [Commented] (FOP-2352) Unable to render Arabic Text using Apache FOP

    [ https://issues.apache.org/jira/browse/FOP-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14064718#comment-14064718 ] 

ramakanthreddy commented on FOP-2352:
-------------------------------------

Hi Luis,

I tried using Arial.ttf but still it is not rendering arabic text properly.

Apache fop version:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 16.0-b13 (Sun Microsystems Inc.)
Main-Class: org.apache.fop.cli.Main
Build-Id: 20120825-191622-IST (smishra [Windows XP 5.1 x86, Java 1.6.0
 _18-b07, Target Java 1.5])

Name: org/apache/fop/
Specification-Title: XSL-FO - Extensible Stylesheet Language
Specification-Version: 1.1
Specification-Vendor: World Wide Web Consortium
Specification-URL: http://www.w3.org/TR/xsl
Implementation-Title: Apache FOP
Implementation-Version: 1.1rc1
Implementation-Vendor: The Apache Software Foundation (http://xmlgraph
 ics.apache.org/fop/)

Configuration File:

<?xml version="1.0"?>
<fop version="1.0">
  <renderers>
<renderer mime="application/pdf">
     <fonts>                           
                <font kerning="yes"  embed-url="C:/WINDOWS/Fonts/Arialuni.ttf">
                      <font-triplet name="Arial" style="normal" weight="normal"/>
                    </font>                     
            </fonts>
  </renderer>

   
  </renderers>

</fop>





> Unable to render Arabic Text using Apache FOP
> ---------------------------------------------
>
>                 Key: FOP-2352
>                 URL: https://issues.apache.org/jira/browse/FOP-2352
>             Project: Fop
>          Issue Type: Bug
>          Components: renderer/pdf
>    Affects Versions: 0.95, 1.0, 1.1
>         Environment: Operating System:Windows
> Java version : 1.6
>            Reporter: ramakanthreddy
>            Priority: Critical
>         Attachments: out.pdf, readArabicText.txt, src.zip, test.pdf, userconfig.xml
>
>
> When trying to render arabic text using Apache FOP # is displayed in pdf file instead of arabic text.
> Working fine for french and english but fails for arabic
> Characterset used is : UTF-8
> and StreamSource type is StringReader



--
This message was sent by Atlassian JIRA
(v6.2#6252)