Re: bidi support with glyph shaping in 1.1rc1

2012-07-13 Thread James Quest
removing both language and script attributes does make it work. wonderful!
thanks for the pointer

--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/bidi-support-with-glyph-shaping-in-1-1rc1-tp36332p36338.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: bidi support with glyph shaping in 1.1rc1

2012-07-13 Thread Glenn Adams
sorry, i just now noticed you also specified language="ar"; please remove
that as well; in fact, there is probably an interoperability issue here
which warrants opening a bug; namely, when the user specifies language or
script that happens to be the same as the font's notion of default language
or script, then FOP should use the default tables instead of looking for
tables explicitly marked with the explicit language/script; i will open a
bug on this, but in the mean time, avoid using language/script attributes;

On Fri, Jul 13, 2012 at 7:53 AM, James Quest  wrote:

> i have tried both specifying the script attribute, and not specifying it.
>
> both situations produces the same incorrect PDF output. none of the arabic
> text seems to glyph shape in the joining process.
>
> --
> View this message in context:
> http://apache-fop.1065347.n5.nabble.com/bidi-support-with-glyph-shaping-in-1-1rc1-tp36332p36336.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


Re: bidi support with glyph shaping in 1.1rc1

2012-07-13 Thread James Quest
i have tried both specifying the script attribute, and not specifying it.

both situations produces the same incorrect PDF output. none of the arabic
text seems to glyph shape in the joining process.

--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/bidi-support-with-glyph-shaping-in-1-1rc1-tp36332p36336.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: bidi support with glyph shaping in 1.1rc1

2012-07-13 Thread Glenn Adams
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  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.
>
> http://www.w3.org/1999/XSL/Format"; language="ar"
> font-family="ArialUnicodeMT" writing-mode="rl" script="arab">
>   
>  master-name="a4">
>margin-right="10mm" margin-left="10mm"/>
> 
>   
>   
> 
>   وكلما زادت معرفتك بها؛ زادت السلامة والمتعة التي تحصل some
> text عليها خلال قيادتها.
> 
>   
> 
>
> james
>
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>