You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Raphael Finkel <ra...@cs.uky.edu> on 2013/08/12 19:00:09 UTC

Bug in fop: Arabic is diplayed in isolated forms

When fop renders Arabic, it uses isolated Arabic forms instead of converting
them to the proper presentation forms (initial, medial, final).  In contrast,
xmlroff using the Cairo rendering engine renders these forms correctly.

Here is a small xml-fo file:

	<?xml version="1.0" encoding="UTF-8"?><fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"><fo:layout-master-set><fo:simple-page-master page-height="11in" page-width="8.5in" margin-bottom="1in" margin-top="1in" margin-right="1in" margin-left="1.5in" master-name="SudaPage"><fo:region-body margin-bottom="0in" margin-top="0in" margin-right="0in" margin-left="0in"/><fo:region-before extent="0.0in"/><fo:region-after extent="0.0in"/><fo:region-start extent="0in"/><fo:region-end extent="0in"/></fo:simple-page-master></fo:layout-master-set><fo:page-sequence master-reference="SudaPage"><fo:static-content flow-name="xsl-footnote-separator"><fo:block><fo:leader rule-thickness="0.5pt" rule-style="solid" leader-length="20%" leader-pattern="rule"/></fo:block></fo:static-content>
	<fo:flow flow-name="xsl-region-body">
		<fo:block font-family="FreeSerif" margin-top=".2in" margin-left=".5in">
			[1] Some Arabic: مسر now some Hebrew: שמו [2] that's all
		</fo:block>
	</fo:flow></fo:page-sequence></fo:root>

I attach the PDF that fop creates.  It has poorly rendered Arabic.  It also has
a bidi problem, but that is not the point here.

Raphael

Re: Bug in fop: Arabic is diplayed in isolated forms

Posted by Glenn Adams <gl...@skynav.com>.
I don't see any problem (attached). What version of FOP are you using? What
font type (ttf/otf) and version are you using?


On Mon, Aug 12, 2013 at 11:00 AM, Raphael Finkel <ra...@cs.uky.edu> wrote:

> When fop renders Arabic, it uses isolated Arabic forms instead of
> converting
> them to the proper presentation forms (initial, medial, final).  In
> contrast,
> xmlroff using the Cairo rendering engine renders these forms correctly.
>
> Here is a small xml-fo file:
>
>         <?xml version="1.0" encoding="UTF-8"?><fo:root xmlns:fo="
> http://www.w3.org/1999/XSL/Format"><fo:layout-master-set><fo:simple-page-master
> page-height="11in" page-width="8.5in" margin-bottom="1in" margin-top="1in"
> margin-right="1in" margin-left="1.5in"
> master-name="SudaPage"><fo:region-body margin-bottom="0in" margin-top="0in"
> margin-right="0in" margin-left="0in"/><fo:region-before
> extent="0.0in"/><fo:region-after extent="0.0in"/><fo:region-start
> extent="0in"/><fo:region-end
> extent="0in"/></fo:simple-page-master></fo:layout-master-set><fo:page-sequence
> master-reference="SudaPage"><fo:static-content
> flow-name="xsl-footnote-separator"><fo:block><fo:leader
> rule-thickness="0.5pt" rule-style="solid" leader-length="20%"
> leader-pattern="rule"/></fo:block></fo:static-content>
>         <fo:flow flow-name="xsl-region-body">
>                 <fo:block font-family="FreeSerif" margin-top=".2in"
> margin-left=".5in">
>                         [1] Some Arabic: مسر now some Hebrew: שמו [2]
> that's all
>                 </fo:block>
>         </fo:flow></fo:page-sequence></fo:root>
>
> I attach the PDF that fop creates.  It has poorly rendered Arabic.  It
> also has
> a bidi problem, but that is not the point here.
>
> Raphael
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>