remove the script='arab' attribute; specifying script attribute is not
necessary and is wrong in this case since you also have latin script in
your example

the only reason to specify script attribute is when you are using a font
that provides different shaping/positioning treatment according to the
OpenType use of a "script tag" and you wish to select that behavior
explicitly by overriding the default script determination

On Fri, Jul 13, 2012 at 6:05 AM, Jim Quest <quest.ja...@gmail.com> wrote:

> dear all,
>
> i see that fop1.1rc1 now has bi-directional support of arabic (
> http://xmlgraphics.apache.org/fop/1.1rc1/complexscripts.html#details)
>
> i have tried it, with the fo below, and the resulting PDF (attached) that
> i have seems to not have any glyph shaping (medial forms for characters
> etc). the documentation says that it has full supported and tested. so i am
> not sure what i am doing incorrectly.
>
> any help would be most appreciated.
>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"; language="ar"
> font-family="ArialUnicodeMT" writing-mode="rl" script="arab">
>   <fo:layout-master-set>
>     <fo:simple-page-master page-height="297mm" page-width="210mm"
> master-name="a4">
>       <fo:region-body margin-top="11mm" margin-bottom="12mm"
> margin-right="10mm" margin-left="10mm"/>
>     </fo:simple-page-master>
>   </fo:layout-master-set>
>   <fo:page-sequence master-reference="a4">
>     <fo:flow flow-name="xsl-region-body">
>       <fo:block>وكلما زادت معرفتك بها؛ زادت السلامة والمتعة التي تحصل some
> text عليها خلال قيادتها.</fo:block>
>     </fo:flow>
>   </fo:page-sequence>
> </fo:root>
>
> james
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
>

Reply via email to