Re: bidi support with glyph shaping in 1.1rc1
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
Re: bidi support with glyph shaping in 1.1rc1
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: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: bidi support with glyph shaping in 1.1rc1
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 quest.ja...@gmail.com 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: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: bidi support with glyph shaping in 1.1rc1
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: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org