[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-user
Subject:    Re: DITA-OT/FOP and Devanagari Scripts
From:       Janaki Ramamurthy <janaki.tw () gmail ! com>
Date:       2015-01-13 5:19:54
Message-ID: CA+A26=nTdxtUB+d7Wq2dRz+S9e3=mqS3EWG+NbxD1Vi9QAwaZg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/related)]

[Attachment #4 (multipart/alternative)]


Good Morning,

Will do. However, if I generate a simple PDF (non-DITA) using the attached
FO file, I get a perfect output!


​

On 12 January 2015 at 20:25, Glenn Adams <glenn@skynav.com> wrote:

> There is already a open issue for Mangal problems:
> https://issues.apache.org/jira/browse/FOP-2437.
> 
> You should try a different font to see if the problem remains or not,
> e.g., Aparajita, Kokila, Utsaah.
> 
> On Mon, Jan 12, 2015 at 3:02 AM, Janaki Ramamurthy <janaki.tw@gmail.com>
> wrote:
> 
> > Good Afternoon,
> > 
> > 1. We are using FOP 1.1 that is built-in in Oxygen
> > 2. Mangal is the font we are using for Hindi
> > 3. I am customizing the PDF plug-in in DITA-OT. I am not sure what files
> > I could give you as sample.
> > 
> > Jayanti
> > 
> > On 12 January 2015 at 15:02, Pascal Sancho <psancho.asf@gmail.com> wrote:
> > 
> > > Hi,
> > > Theorically, FOP should support Devanagari scripts.
> > > you should provide further information:
> > > - FOP version
> > > - used fonts (for Devanagari scripts)
> > > - short FO example demonstrating the issue,
> > > - etc.
> > > 
> > > That said, and IIUC, you are probably facing to the existing issue about
> > > Devanagari diacritics (see issue [1]).
> > > Can you confirm that point? if yes, you should want to add further
> > > info/comment there.
> > > 
> > > [1] https://issues.apache.org/jira/browse/FOP-2437
> > > 
> > > 
> > > 2015-01-12 8:09 GMT+01:00 Janaki Ramamurthy <janaki.tw@gmail.com>:
> > > 
> > > > Good Afternoon,
> > > > > 
> > > > > I am customizing the PDF plug-in and have got it working for the most
> > > > > part. However, the customer wants us to include some Hindi content
> > > > > (Devanagari script) and I notice that it is not rendered properly when I
> > > > > use Apache FOP. (As to details of "not rendered properly", I can only
> > > > > explain in lay man terms that the "matras", "half-matras" and "jod-akshars"
> > > > > are displayed incorrectly. Attached is the image of the original and
> > > > > rendered content.)
> > > > > 
> > > > > 
> > > > > <https://lh5.googleusercontent.com/-KURl0tsIbLM/VK-fSDxNQuI/AAAAAAAAAAU/FnXD51BcCE4/s1600/Test_1.png>
> > > > >  
> > > > > 
> > > > > However, when I used a trial version of Antenna House FOP Processor,
> > > > > the Hindi text was rendered correctly.
> > > > > 
> > > > > I was reading the documentation for both OT and FOP. Am I correct in
> > > > > understanding that I cannot render DITA content in Devanagari script using
> > > > > the FOP combination?
> > > > > 
> > > > > I am using Oxygen as the XML Editor.
> > > > > 
> > > > > Any help will be appreciated.
> > > > > 
> > > > > Regards,
> > > > > Janaki
> > > > > 
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > > > > Groups "DITA-OT Users" group.
> > > > > To unsubscribe from this group and stop receiving emails from it, send
> > > > > an email to dita-ot-users+unsubscribe@googlegroups.com.
> > > > > For more options, visit https://groups.google.com/d/optout.
> > > > > 
> > > > 
> > > > 
> > > > 
> > > > --
> > > > Eliot Kimber
> > > > 
> > > > 
> > > > 
> > > 
> > > 
> > > --
> > > pascal
> > > 
> > 
> > 
> 


[Attachment #7 (text/html)]

<div dir="ltr">Good Morning,<div><br></div><div>Will do. However, if I generate a \
simple PDF (non-DITA) using the attached FO file, I get a perfect \
output!</div><div><br></div><div><img src="cid:ii_i4utiu410_14ae1b0a28066dc5" \
width="474" height="129"><br>​<br></div></div><div class="gmail_extra"><br><div \
class="gmail_quote">On 12 January 2015 at 20:25, Glenn Adams <span dir="ltr">&lt;<a \
href="mailto:glenn@skynav.com" target="_blank">glenn@skynav.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><div dir="ltr">There is already a open issue for Mangal \
problems:  <a href="https://issues.apache.org/jira/browse/FOP-2437" \
target="_blank">https://issues.apache.org/jira/browse/FOP-2437</a>.<div><br></div><div>You \
should try a different font to see if the problem remains or not, e.g., Aparajita, \
Kokila, Utsaah.</div></div><div class="HOEnZb"><div class="h5"><div \
class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 12, 2015 at 3:02 AM, \
Janaki Ramamurthy <span dir="ltr">&lt;<a href="mailto:janaki.tw@gmail.com" \
target="_blank">janaki.tw@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Good Afternoon,<div><br></div><div>1. We are \
using FOP 1.1 that is built-in in Oxygen</div><div>2. Mangal is the font we are using \
for Hindi</div><div>3. I am customizing the PDF plug-in in DITA-OT. I am not sure \
what files I could give you as sample.  \
</div><div><br></div><div>Jayanti</div></div><div><div><div \
class="gmail_extra"><br><div class="gmail_quote">On 12 January 2015 at 15:02, Pascal \
Sancho <span dir="ltr">&lt;<a href="mailto:psancho.asf@gmail.com" \
target="_blank">psancho.asf@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div \
dir="ltr"><div><div><div><div><div><div><div>Hi,<br></div><div>Theorically, FOP \
should support Devanagari scripts.</div>you should provide further \
information:<br></div>  - FOP version<br></div>  - used fonts (for Devanagari \
scripts)<br></div>  - short FO example demonstrating the issue,<br></div>  - \
etc.<br><br></div>That said, and IIUC, you are probably facing to the existing issue \
about Devanagari diacritics (see issue [1]).<br></div><div>Can you confirm that \
point? if yes, you should want to add further info/comment \
there.<br></div><div><br>[1] <a href="https://issues.apache.org/jira/browse/FOP-2437" \
target="_blank">https://issues.apache.org/jira/browse/FOP-2437</a><br></div><br></div><div \
class="gmail_extra"><div><div><br><div class="gmail_quote">2015-01-12 8:09 GMT+01:00 \
Janaki Ramamurthy <span dir="ltr">&lt;<a href="mailto:janaki.tw@gmail.com" \
target="_blank">janaki.tw@gmail.com</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div><div><div \
dir="ltr"><div class="gmail_quote"><div class="gmail_extra"><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Good \
Afternoon,<div><br></div><div>I am customizing the PDF plug-in and have got it \
working for the most part. However, the customer wants us to include some Hindi \
content (Devanagari script) and I notice that it is not rendered properly when I use \
Apache FOP. (As to details of &quot;not rendered properly&quot;, I can only explain \
in lay man terms that the &quot;matras&quot;, &quot;half-matras&quot; and \
&quot;jod-akshars&quot; are displayed incorrectly. Attached is the image of the \
original and rendered content.)</div><div><br></div><p \
style="text-align:center;clear:both"><a \
href="https://lh5.googleusercontent.com/-KURl0tsIbLM/VK-fSDxNQuI/AAAAAAAAAAU/FnXD51BcCE4/s1600/Test_1.png" \
style="margin-left:1em;margin-right:1em" target="_blank"><img \
src="https://lh5.googleusercontent.com/-KURl0tsIbLM/VK-fSDxNQuI/AAAAAAAAAAU/FnXD51BcCE4/s1600/Test_1.png" \
border="0"></a></p><div><br></div><div><br></div><div>However, when I used a trial \
version of Antenna House FOP Processor, the Hindi text was rendered \
correctly.</div><div><br></div><div>I was reading the documentation for both OT and \
FOP. Am I correct in understanding that I cannot render DITA content in Devanagari \
script using the FOP combination?</div><div><br></div><div>I am using Oxygen as the \
XML Editor.</div><div><br></div><div>Any help will be \
appreciated.</div><div><br></div><div>Regards,</div><div>Janaki</div></div><span><font \
color="#888888"><span><font color="#888888"><span><font color="#888888">

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups \
&quot;DITA-OT Users&quot; group.<br> To unsubscribe from this group and stop \
receiving emails from it, send an email to <a \
href="mailto:dita-ot-users+unsubscribe@googlegroups.com" \
target="_blank">dita-ot-users+unsubscribe@googlegroups.com</a>.<br> For more options, \
visit <a href="https://groups.google.com/d/optout" \
target="_blank">https://groups.google.com/d/optout</a>.<br> \
</font></span></font></span></font></span></blockquote></div><span><font \
color="#888888"><span><font color="#888888"><br><br clear="all"><div><br></div>-- \
<br><div>Eliot Kimber</div> </font></span></font></span></div>
</div><br></div>
</div></div></div><br></div>
</blockquote></div><br><br clear="all"><br></div></div><span><font color="#888888">-- \
<br><div>pascal</div> </font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>

--001a11c2c9ec08e13d050c819b21--


["Perfect_Output.png" (image/png)]
["test_fo.fo" (application/octet-stream)]

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic