[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Arabic characters and FOP
The formatter is ONLY "obliged to respect the *inherent* direction properties..." IF it claims to be of a conformance level fo XSL that includes this functionality. See section 8 last paragraph and B.3. I do not believe that FOP claims "extended conformance" which is required for the functionality described below. Anders "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>@lists.mulberrytech.com on 01/25/2002 08:47:50 AM Please respond to xsl-list@xxxxxxxxxxxxxxxxxxxxxx Sent by: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> cc: Subject: RE: Arabic characters and FOP At 2002-01-25 12:47 +0000, Tanzila Mohammad wrote: >I tried the following in an fo file: > ><fo:block font-weight="bold" space-before.optimum="5pt"> > <fo:bidi-override >direction="rtl">جدول</fo:bidi-override> text ></fo:block> > >I tried this and I get this error > property - "direction" is not implemented yet. > element "fo:bidi-override" is not yet implemented. Be careful, you may not need <fo:bidi-override> if I have guessed your intent from the subject of your message. As I understand XSLFO, the formatter is obliged to respect the *inherent* direction properties of the Unicode characters you have in your formatted stream. <fo:bidi-override> is just that ... it *overrides* the inherent directionality of the Unicode characters. If you are mixing right-to-left Arabic characters with left-to-write Western European characters, you do *not* use <fo:bidi-override>. Consider the stylesheet writer writing a stylesheet for global use, taking care to properly specify writing-direction-dependent properties so as to work properly with all scripts. It would be untenable to have to look inside the data to know when the stylesheet would have to control directionality of characters ... therefore it *has* to be the formatter's responsibility to address the directionality of Unicode characters. Now, if you wanted to display Arabic right-to-left characters left-to-right, *then* you would use <fo:bidi-override>. I hope this helps. ..................... Ken p.s. as for FOP, I have no idea if it respects directionality or not ... sorry -- Upcoming: 3-days XSLT/XPath and/or 2-days XSLFO - Feb 18-22, 2002 G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995) ISBN 0-13-065196-6 Definitive XSLT & XPath ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-07-1 Practical Formatting Using XSLFO XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed), articles, training(instructor-live,Internet-live,web/CD,licensed) Next public training: 02-02-11,12,14,15,18,21,03-04,05,06,08,11, - 04-08,09,10,12,05-14,15,06-04,07 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|