Click here to Skip to main content
15,894,405 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey!

I'm working on the printout of one of my applications. The printout should be Arabic (RTL of course).

So I added this to my XSLT:

XML
<fo:block font-size="120%">
  <fo:inline><xsl:value-of select="Subject"/> :الموضوع</fo:inline>
</fo:block>


The layout is Right-To-Left as long as there are also western characters involved.
When I have a all Arabic sentence the layout flips over and is left-to-right.

So why is this? any proper solution to this?

Could adding whitespace characters help in any way?
Posted
Updated 27-Jun-12 3:44am
v2
Comments
Rajeev Jayaram 27-Jun-12 10:42am    
Not sure if this link relates to your topic,
http://multilingualtypesetting.co.uk/blog/arabic-typesetting-indesign-wrongs/
But, has some insights on arabic formatting.
TorstenH. 28-Jun-12 0:55am    
That descripes the problems with the Arabic layout quite well. It's not as easy as easy as it seems in the first moment.
Rajeev Jayaram 2-Jul-12 17:30pm    
:-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900