Re: Arabic text and letter join

Maxime Bégnis <[email protected]>
Newsgroups gmane.text.xml.fop.user
Message-ID <[email protected]>
Sample FO file attached.

BR,

-- 
*NeoDoc*
*Maxime Bégnis*
[email protected]
Tél: +33 (0)4.42.52.24.20
789 Rue de La Gare
13770 Venelles
France
http://www.neodoc.fr/
Le 16/06/2016 17:40, Glenn Adams a écrit :
> Please post a very short XSL-FO file containing a minimal example
> demonstrating the problem.
>
> On Thu, Jun 16, 2016 at 8:23 AM, Maxime Bégnis <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Hello,
>
>     I'm using FOP 2.1 to generate PDF documents in Arabic. It seems
>     that the letters that should be joined are not. Attached is a
>     sample result PDF.
>
>     I paste here an example for the title of the document hoping it
>     will be correctly displayed for the readers of this mail.
>
>     ‫تكاليف‬ ‫سبتمبر‬
>
>     I tried different fonts (Arial and Traditional Arabic) without
>     success. Note that the text direction is handled properly.
>
>     I would appreciate any advice on this.
>
>     BR,
>
>     -- 
>     -- 
>     *NeoDoc*
>     *Maxime Bégnis*
>     [email protected] <mailto:[email protected]>
>     Tél: +33 (0)4.42.52.24.20
>     789 Rue de La Gare
>     13770 Venelles
>     France
>     http://www.neodoc.fr/
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
fop-2.1-letter-join.fo (text/x-xslfo, 1.2 KB)
<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
	 xmlns:d="http://docbook.org/ns/docbook"
	 font-family="Arial" font-size="11pt"
	 writing-mode="rl-tb" language="ar">
  <fo:layout-master-set>
    <fo:simple-page-master master-name="A4" page-width="210mm" page-height="297mm" margin="15mm">
      <fo:region-body />
    </fo:simple-page-master>
  </fo:layout-master-set>

  <fo:page-sequence master-reference="A4">
    <fo:flow flow-name="xsl-region-body">
      <fo:block font-weight="bold">
	تعليمات التشغيل
      </fo:block>

      <fo:block space-before="1em">
	حدى كل عُقر واُسدل بتخصيص. في التّحول اقتصادية بعض, دفّة شرسة إعمار غير عل. دار ببعض علاقة ولكسمبورغ إذ, حصدت لدحر إذ لمّ, تم حقول تحرير فصل. بها تم أسيا عرفها ارتكبها, ٣٠ قام وعلى العظمى اوروبا. أدوات الضروري الإقتصادية أن ذلك, أن بالرّغم بمعارضة بريطانيا الا. ذلك من الهادي الأوروبيّون.
      </fo:block>

    </fo:flow>
  </fo:page-sequence>
</fo:root>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.