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 Raymond Budd <ra...@gmail.com> on 2014/12/18 02:32:03 UTC

Devanagari Diacritics

Hi,

I have a question about Devanagari. Please excuse my limited background
with the script.

It appears that diacritics are occasionally shifted left or right when
rendered using Mangal font. See an example FO file below. The diacritic in
the first line is written, but partially covered. In the last line, the
Chandrabindu is written after the letter. Oddly, I've seen other examples
where these are displayed correctly.

Is there something missing in the block definition?

Thanks in advance for any help,
Ray

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="Arial">
  <fo:layout-master-set>
    <fo:simple-page-master margin-top="36pt" margin-bottom="36pt"
margin-left="54pt" margin-right="54pt" page-width="8.5in"
page-height="11in" master-name="normal">
      <fo:region-body margin-bottom="36pt" margin-top="36pt" />
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence id="DocumentBody" master-reference="normal">
    <fo:flow flow-name="xsl-region-body">
    <fo:block line-height="150%" color="black" text-align="start"
font-family="Mangal" font-size="24pt">
नहीं
आएँ।
    </fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>

Re: Devanagari Diacritics

Posted by Glenn Adams <gl...@skynav.com>.
I think there's a bug lurking, as I've seen this too. Please file a JIRA
issue and provide minimal input FO file that demonstrates problem as well
as PDF output and your configuration file.

On Wed, Dec 17, 2014 at 6:32 PM, Raymond Budd <ra...@gmail.com> wrote:
>
> Hi,
>
> I have a question about Devanagari. Please excuse my limited background
> with the script.
>
> It appears that diacritics are occasionally shifted left or right when
> rendered using Mangal font. See an example FO file below. The diacritic in
> the first line is written, but partially covered. In the last line, the
> Chandrabindu is written after the letter. Oddly, I've seen other examples
> where these are displayed correctly.
>
> Is there something missing in the block definition?
>
> Thanks in advance for any help,
> Ray
>
> <?xml version="1.0" encoding="UTF-8"?>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="Arial">
>   <fo:layout-master-set>
>     <fo:simple-page-master margin-top="36pt" margin-bottom="36pt"
> margin-left="54pt" margin-right="54pt" page-width="8.5in"
> page-height="11in" master-name="normal">
>       <fo:region-body margin-bottom="36pt" margin-top="36pt" />
>     </fo:simple-page-master>
>   </fo:layout-master-set>
>   <fo:page-sequence id="DocumentBody" master-reference="normal">
>     <fo:flow flow-name="xsl-region-body">
>     <fo:block line-height="150%" color="black" text-align="start"
> font-family="Mangal" font-size="24pt">
> नहीं
> आएँ।
>     </fo:block>
>     </fo:flow>
>   </fo:page-sequence>
> </fo:root>
>
>