<div dir="ltr">Thanks very much. The quotes and dashes came properly when I changed the Malayalam font to FreeSerif.<div><br></div><div>Regards,</div><div>Sasi</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 14 April 2015 at 19:17,  <span dir="ltr"><<a href="mailto:xetex-request@tug.org" target="_blank">xetex-request@tug.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send XeTeX mailing list submissions to<br>
        <a href="mailto:xetex@tug.org">xetex@tug.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:xetex-request@tug.org">xetex-request@tug.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:xetex-owner@tug.org">xetex-owner@tug.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of XeTeX digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Quotes and dashes (Zdenek Wagner)<br>
   2. Re: Quotes and dashes (Arthur Reutenauer)<br>
   3. Re: rendering of U+0903 (Zdenek Wagner)<br>
   4. Re: rendering of U+0903 (Manfred Lotz)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 14 Apr 2015 15:25:07 +0200<br>
From: Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.com</a>><br>
To: "XeTeX (Unicode-based TeX) discussion." <<a href="mailto:xetex@tug.org">xetex@tug.org</a>><br>
Subject: Re: [XeTeX] Quotes and dashes<br>
Message-ID:<br>
        <<a href="mailto:CAC1phybqMfa4qBEkj8JprJudtLZN2yOEcN4Dc-KGexwnAp5sUw@mail.gmail.com">CAC1phybqMfa4qBEkj8JprJudtLZN2yOEcN4Dc-KGexwnAp5sUw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Your main font is Rachana, your default language is Malayalam. You do not<br>
use any language/script switching. Although you define Roman font, it will<br>
never be used. You have to use \setotherlanguage{english} and put the<br>
English text inside \textenglish{...}. In such a case these texts will be<br>
typeset in the roman font. alternatively you can use the ucharclasses<br>
package.<br>
<br>
Zden?k Wagner<br>
<a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br>
<a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a><br>
<br>
2015-04-14 15:16 GMT+02:00 Sasi Kumar <<a href="mailto:sasi.fsf@gmail.com">sasi.fsf@gmail.com</a>>:<br>
<br>
> Although I had written about this problem earlier and got some responses,<br>
> I continue to be plagued by the absence of "curly" quotes and mdashes. I am<br>
> giving a minimal working example below. It gives a pdf that has rectangles<br>
> where I have placed quotes and dashes:<br>
><br>
> \documentclass[a4paper,12pt]{article}<br>
> \usepackage[margin=1in]{geometry}<br>
> \usepackage{fontspec}<br>
> \usepackage{polyglossia,xltxtra}<br>
> \newfontfamily\malayalamfont[Script=Malayalam,Mapping=tex-text]{Rachana}<br>
> \setmainfont[Script=Malayalam, HyphenChar="0000, Mapping=tex-text]{Rachana}<br>
> \usepackage{xltxtra}<br>
> \defaultfontfeatures{Mapping=tex-text}<br>
> \setromanfont{FreeSerif}<br>
><br>
> \usepackage{url}<br>
> \headheight=15pt<br>
> \usepackage{fancyhdr}<br>
> \setdefaultlanguage{malayalam}<br>
> \date{}<br>
><br>
> \begin{document}<br>
> (Sir Frederick William Herschel, 1738--1822)<br>
><br>
> "?????"<br>
><br>
> ``planet''<br>
> \end{document}<br>
><br>
> Thanks in advance for any solution.<br>
><br>
> Regards,<br>
> Sasi<br>
><br>
> --<br>
> V. Sasi Kumar<br>
> Free Software Foundation of India<br>
> Please see: <a href="http://swatantryam.blogspot.com/" target="_blank">http://swatantryam.blogspot.com/</a><br>
><br>
><br>
><br>
> --------------------------------------------------<br>
> Subscriptions, Archive, and List information, etc.:<br>
>   <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://tug.org/pipermail/xetex/attachments/20150414/2ff10561/attachment-0001.html" target="_blank">http://tug.org/pipermail/xetex/attachments/20150414/2ff10561/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 14 Apr 2015 14:27:04 +0100<br>
From: Arthur Reutenauer <<a href="mailto:arthur.reutenauer@normalesup.org">arthur.reutenauer@normalesup.org</a>><br>
To: "XeTeX (Unicode-based TeX) discussion." <<a href="mailto:xetex@tug.org">xetex@tug.org</a>><br>
Subject: Re: [XeTeX] Quotes and dashes<br>
Message-ID: <<a href="mailto:20150414132704.GD529708@phare.normalesup.org">20150414132704.GD529708@phare.normalesup.org</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
        Hi Sasi,<br>
<br>
> Although I had written about this problem earlier and got some responses<br>
<br>
  Did you read them?<br>
<br>
>                                                                        am<br>
> giving a minimal working example below. It gives a pdf that has rectangles<br>
> where I have placed quotes and dashes:<br>
<br>
  These rectangles are usually a sign that the font you're using doesn't<br>
contain the characters in question.  Try using another font, that should<br>
solve the problem.<br>
<br>
        Best,<br>
<br>
                Arthur<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 14 Apr 2015 15:33:00 +0200<br>
From: Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.com</a>><br>
To: "XeTeX (Unicode-based TeX) discussion." <<a href="mailto:xetex@tug.org">xetex@tug.org</a>><br>
Subject: Re: [XeTeX] rendering of U+0903<br>
Message-ID:<br>
        <<a href="mailto:CAC1phyZ%2BtYLbHO7Kk12ReH%2BeDdMTx9B875VKDTtQHk1O05j9qw@mail.gmail.com">CAC1phyZ+tYLbHO7Kk12ReH+eDdMTx9B875VKDTtQHk1O05j9qw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
2015-04-14 15:17 GMT+02:00 Arthur Reutenauer <<br>
<a href="mailto:arthur.reutenauer@normalesup.org">arthur.reutenauer@normalesup.org</a>>:<br>
<br>
> > The problem is that AFAIK the Indic scripts are not yet implemented in<br>
> > luatex.<br>
><br>
>   Actually it is, at least for Devanagari.  This is fairly recent (2-3<br>
> years).<br>
><br>
<br>
I did not know about it, I asked Hans Hagen when preparing this book:<br>
<a href="http://icebearsoft.euweb.cz/bharat.php" target="_blank">http://icebearsoft.euweb.cz/bharat.php</a><br>
<br>
><br>
> >         The dotted ring is not a part of the glyph. the Unicode shaper<br>
> > (HarfBuzz in XeTeX) knows that visarga is a dependent vowel (matra) and<br>
> > since a consonant is missing, it takes the dotted ring from the font (it<br>
> > should exist as a glyph per Microsoft's recommendation).<br>
><br>
>   That's interesting, thanks for the explanation.  But Manfred doesn't<br>
> want LuaTeX to produce the same output as XeTeX, he wants it the other<br>
> way round.  What you're saying implies that it's not really possible<br>
> with a conformant font.<br>
><br>
> > I have quite a lot of texts in Hindi, if you develop such a shaper in<br>
> lua,<br>
> > I can offer testing.<br>
><br>
<br>
I think it is rather a matter of a shaper. The dotted ring should be<br>
present in the font and the shaper should place it instead of the missing<br>
consonant. I understand the display of a single matra without anything<br>
added is important in textbooks.<br>
<br>
><br>
>   You should get in touch with Hans and others on the ConTeXt list.<br>
><br>
>         Arthur<br>
><br>
><br>
<br>
Zden?k Wagner<br>
<a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br>
<a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a><br>
<br>
<br>
<br>
><br>
> --------------------------------------------------<br>
> Subscriptions, Archive, and List information, etc.:<br>
>   <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://tug.org/pipermail/xetex/attachments/20150414/243544e8/attachment-0001.html" target="_blank">http://tug.org/pipermail/xetex/attachments/20150414/243544e8/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Tue, 14 Apr 2015 15:37:47 +0200<br>
From: Manfred Lotz <<a href="mailto:manfred.lotz@arcor.de">manfred.lotz@arcor.de</a>><br>
To: <<a href="mailto:xetex@tug.org">xetex@tug.org</a>><br>
Subject: Re: [XeTeX] rendering of U+0903<br>
Message-ID: <<a href="mailto:20150414153747.4827170e@arcor.com">20150414153747.4827170e@arcor.com</a>><br>
Content-Type: text/plain; charset="US-ASCII"<br>
<br>
On Tue, 14 Apr 2015 14:59:03 +0200<br>
Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.com</a>><br>
wrote:<br>
<br>
> The problem is that AFAIK the Indic scripts are not yet implemented in<br>
> luatex.<br>
<br>
This could be. I usually use XeLaTeX for Sanskrit stuff, and in this<br>
case I wanted to take a look how this looks like when using lualatex.<br>
<br>
> The dotted ring is not a part of the glyph. the Unicode shaper<br>
> (HarfBuzz in XeTeX) knows that visarga is a dependent vowel (matra)<br>
> and since a consonant is missing, it takes the dotted ring from the<br>
> font (it should exist as a glyph per Microsoft's recommendation).<br>
<br>
I don't like the dotted ring but anyway.<br>
<br>
> Luatex knows nothing about rendering Indic script. So the compete<br>
> answer is: implement an equivalent of HarfBuzz in Lua, you will then<br>
> get consistent result. Without it using Devanagari in luatex is<br>
> impossible.<br>
><br>
> I have quite a lot of texts in Hindi, if you develop such a shaper in<br>
> lua, I can offer testing.<br>
><br>
<br>
I need visarga (and anusvara) independently as I create an A2 poster of<br>
the Sanskrit alphabet as can be seen here:<br>
<a href="http://comedy.dante.de/~manfred/sanskrit_alphabet_A2.pdf" target="_blank">http://comedy.dante.de/~manfred/sanskrit_alphabet_A2.pdf</a><br>
<br>
<br>
<br>
--<br>
Thanks, Manfred<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
XeTeX mailing list<br>
<a href="mailto:XeTeX@tug.org">XeTeX@tug.org</a><br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
<br>
<br>
------------------------------<br>
<br>
End of XeTeX Digest, Vol 133, Issue 7<br>
*************************************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">V. Sasi Kumar<br>Free Software Foundation of India<br>Please see: <a href="http://swatantryam.blogspot.com/">http://swatantryam.blogspot.com/</a></div>
</div>