Because the use of is metrics-url="file:D:/FontsPDF/ArialUnicodeMS.xml" obsolete since FOP 1.0 was released. Also, kerning is enabled by default. So if you want to specify the location and font triplet of a specific font with FOP 1.0 or later, you should specify the following (or use autodetect as in your first example):
<font embed-url="C:/WINDOWS/Fonts/Arialuni.ttf"> <font-triplet name="ArialUnicodeMS" style="normal" weight="normal"/> </font> On Fri, Jun 1, 2012 at 8:30 AM, Christian Pestel <christian.pes...@orange.fr > wrote: > Hi Gleen, > > Hi Glenn, > > l obtain a correct arabic Pdf (see ok.pdf) which use ArialUnicodeMS > Windows font with this fop.config1 : > > <fop version="2.0"> > <renderers> > <renderer mime="application/pdf"> > <filterList> > <value>null</value> > </filterList> > <fonts> > <auto-detect/> > </fonts> > </fonts> > </renderer> > </renderers> > </fop> > > > l obtain an incorrect arabic Pdf (see ko.pdf) with this fop.config2 : > > <fop version="2.0"> > <renderers> > <renderer mime="application/pdf"> > <filterList> > <value>null</value> > </filterList> > <fonts> > <font metrics-url="file:D:/FontsPDF/ArialUnicodeMS.xml" > kerning="yes" embed-url="C:/WINDOWS/Fonts/Arialuni.ttf"> > <font-triplet name="ArialUnicodeMS" style="normal" > weight="normal"/> > </font> > </fonts> > </fonts> > </renderer> > </renderers> > </fop> > > > > Why ? > > Thank for your help. > > > > > > Christian Pestel**** > > christian.pes...@orange.fr <cpes...@bdoc.com> > > *From:* Glenn Adams <gl...@skynav.com> > *Sent:* Thursday, May 31, 2012 5:38 PM > *To:* fop-users@xmlgraphics.apache.org > *Subject:* Re: Arabic text from ArialUnicodeMS Windows font rendered > without ligature between characters > > first, you need to use a build of FOP from the current trunk, see [1] ... > or wait for the upcoming FOP 1.1 release > > second, you need to read and follow the instructions in [2], particularly > related to which fonts are currently supported (I have not tested > ArialUnicodeMS). > > [1] http://ci.apache.org/projects/xmlgraphics/fop/snapshots/ > [2] http://xmlgraphics.apache.org/fop/trunk/complexscripts.html > > On Thu, May 31, 2012 at 1:44 AM, Christian Pestel < > christian.pes...@orange.fr> wrote: > >> Hi, >> >> How to configure Fop to have ligature between characters like in the >> attached docx.pdf ? >> Thank you. >> >> ** >> >> Christian Pestel**** >> >> christian.pes...@orange.fr <cpes...@bdoc.com> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org >> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org >