[XeTeX] XeTeX Digest, Vol 133, Issue 7

Sasi Kumar sasi.fsf at gmail.com
Tue Apr 14 18:16:32 CEST 2015


Thanks very much. The quotes and dashes came properly when I changed the
Malayalam font to FreeSerif.

Regards,
Sasi

On 14 April 2015 at 19:17, <xetex-request at tug.org> wrote:

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



-- 
V. Sasi Kumar
Free Software Foundation of India
Please see: http://swatantryam.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20150414/6d300319/attachment.html>


More information about the XeTeX mailing list