xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphael Finkel <raph...@cs.uky.edu>
Subject Bug in fop: Arabic is diplayed in isolated forms
Date Mon, 12 Aug 2013 17:00:09 GMT
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

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.


View raw message