Re: Arabic letters not formed properly after adding Zero Width Space (#x200B;)

2015-04-22 Thread kthangavel
Thanks Glenn,

I will take a look into that again.



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/Arabic-letters-not-formed-properly-after-adding-Zero-Width-Space-x200B-tp41977p41998.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Arabic letters not formed properly after adding Zero Width Space (#x200B;)

2015-04-22 Thread kthangavel
Hello Glenn,

If we remove the ZWSP , the contents are overflowing to the next cell.
Actually we introducted ZWSP for solving that issue. 

P.S. We were not allowed to use fop hypenation due to licensing issue and
that's why we took the XSLT solution.

Regards
Kumar.T



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/Arabic-letters-not-formed-properly-after-adding-Zero-Width-Space-x200B-tp41977p41995.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Arabic letters not formed properly after adding Zero Width Space (#x200B;)

2015-04-21 Thread kthangavel
Hi Glen,

I have attached the minified xsl-fo xml. There is only one table-row and all
the arabic characters in that row have issues . (One clue for searching the
problemtic arabic characters. Please search for the word
C​H​O​P​R​A​A​A​A​A​A​,​ ​A​D​I​T​Y​A in the xml and arabic characters
that comes in the subsequent cells are the problematic ones)

xslfo_minified.xml
http://apache-fop.1065347.n5.nabble.com/file/n41986/xslfo_minified.xml  

Thanks a lot for the help
Kumar.T



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/Arabic-letters-not-formed-properly-after-adding-Zero-Width-Space-x200B-tp41977p41986.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Arabic letters not formed properly after adding Zero Width Space (#x200B;)

2015-04-21 Thread kthangavel
Hi Glenn,

I am attaching the input xml

NewFile.xml
http://apache-fop.1065347.n5.nabble.com/file/n41980/NewFile.xml  



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/Arabic-letters-not-formed-properly-after-adding-Zero-Width-Space-x200B-tp41977p41980.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Arabic letters not formed properly after adding Zero Width Space (#x200B;)

2015-04-21 Thread kthangavel
Hi Glenn,

I have already attached that in the first post. I am re-attaching it.

xslfo.xml http://apache-fop.1065347.n5.nabble.com/file/n41984/xslfo.xml  

Regards
Kumar.T



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/Arabic-letters-not-formed-properly-after-adding-Zero-Width-Space-x200B-tp41977p41984.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Arabic letters not formed properly after adding Zero Width Space (#x200B;)

2015-04-20 Thread kthangavel
Hi All,
I am trying to generate a PDF report using Apache FOP in Arabic Language .
The report generation is working fine but I have used the following snippet
of xslt for wrapping the data within the cell. 

xsl:template name=intersperse-with-zero-spaces
xsl:param name=str/
xsl:variable name=spacechars
#x9;#xA;
#x2000;#x2001;#x2002;#x2003;#x2004;#x2005;
#x2006;#x2007;#x2008;#x2009;#x200A;#x200B;
/xsl:variable

xsl:if test=string-length($str) gt; 0
xsl:variable name=c1 select=substring($str, 1, 1)/
xsl:variable name=c2 select=substring($str, 2, 1)/

xsl:value-of select=$c1/
xsl:if test=$c2 != '' and
not(contains($spacechars, $c1) or
contains($spacechars, $c2))
xsl:text#x200B;/xsl:text
/xsl:if

xsl:call-template name=intersperse-with-zero-spaces
xsl:with-param name=str 
select=substring($str, 2)/
/xsl:call-template
/xsl:if
/xsl:template 

After calling this template for all the data , the Arabic characters are not
forming properly and looks mis-formed. For examples , Please check the 5th
column from right to left and Arabic character is not proper.  I am
attaching the sample PDF and fo.xml for your reference. Could you please
help me sort this issue out. 

Regards
Kumar.T

xslfo.xml http://apache-fop.1065347.n5.nabble.com/file/n41977/xslfo.xml  

TargetSearch_20042015_Bhavana_both.pdf
http://apache-fop.1065347.n5.nabble.com/file/n41977/TargetSearch_20042015_Bhavana_both.pdf
  




--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/Arabic-letters-not-formed-properly-after-adding-Zero-Width-Space-x200B-tp41977.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: fo:page-number spacing problems in Arabic

2015-01-22 Thread kthangavel
Hello All,

I am facing a similar issue in my project. I would love to know if this is
fixed. If yes , what is the version in which it is available?

I am currently using apache fop 1.1

Thanks
Kumar T



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/fo-page-number-spacing-problems-in-Arabic-tp37417p41631.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org