[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Arabic characters and FOP

Subject: RE: Arabic characters and FOP
From: "Tanzila Mohammad" <tmohammad@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 25 Jan 2002 12:47:52 -0000
right to left fop arabic

I tried the following in an fo file:

<fo:block font-weight="bold" space-before.optimum="5pt">
direction="rtl">&#1580;&#1583;&#1608;&#1604;</fo:bidi-override> text

I tried this and I get this error
 property - "direction" is not implemented yet.
 element "fo:bidi-override" is not yet implemented.

I am using FOP 0.20.1



-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of W. Eliot
Sent: 25 January 2002 12:13
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Arabic characters and FOP

Tanzila Mohammad wrote:
> If you open this XML code in internet explorer it gives you a correctly
> displayed Arabic word.
> <value xml:lang="AR">&#1580;&#1583;&#1608;&#1604;</value>
> If I insert the exact Arabic code in my XML and translate the XML into PDF
> using FOP, the pdf displays the Arabic characters back to front.
> If I then actually reverse the characters:
> i.e. <value xml:lang="AR">&#1604;&#1608;&#1583;&#1580;</value>
> And re-run the process, although now in the right order the joins between
> the characters are lost.

Unicode includes the default writing mode for each character. Thus,
Arabic is automatically presented right-to-left. If you want it
presented left-to-right, you need to use the bidi-overide attriute of
fo:inline. This also allows you to embed left-to-rigth text into
right-to-left data (e.g., English words embedded in an Arabic stream).


ISOGEN International, LLC

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.