On a lark, I've been experimenting with typesetting Vedic Sanskrit,
specifically verses from the Ṛg-Veda, using the Murty Hindi font from
Tiro Typeworks. So far, XeTeX works beautifully, with two exceptions
involving the Vedic udatta and anudatta accent marks:
a) They don't attach properly to the Devanagari digits 1 and 3, and
b) They don't combine properly with the candrabindu, anusvara, and
visarga signs.
luaTeX does render these correctly, so it doesn't appear to be a
problem with the font itself.
I've included a zip file with a test file and sample output from
luaTeX and XeTeX.
Is this a bug, or am I missing something obvious?
Anonymous
Hi David,
Thanks for the very clear and detailed bug report. May I suggest, since you already have the ZIP file handy, that you mention the bug to the XeTeX mailing list? We’re only a handful of people monitoring this bug tracker; on the list you may find people who would be able to analyse the problem in more detail.
The list’s address is
xetex@tug.organd you’ll find more information here. You may link to the ZIP file on this ticket (https://sourceforge.net/p/xetex/bugs/111/attachment/xetex-indic-bug.zip) so as to avoid sending it to the list directly. Then again, sending it is fine if you feel like it, it’s pretty small.P-S: I came across the first books by Murty Classical Library in my bookshop recently and really liked the typography; glad to know they’re making the fonts freely available too.
Hi, Arthur,
Thanks for your email. I've been debating whether to crosspost the
bug to the XeTeX mailing list, and this is just the encouragement I
need.
The Murty volumes are handsome, aren't they?
Best wishes,
David.
Related
Bugs:
#111ShreeDevi Kumar on the xetex list pointed out that I didn't understand
the relevant portion of the Unicode standard, rule R10 on page 444 of
the Unicode 7.0 specification:
What I referred to as a "semantically invalid reordering of the
Unicode characters that happens to produce acceptable output" is, in
fact, the prescribed Unicode canonical order.
An argument could be made that the order with the svara before the
bindu should be supported as a quality-of-implementation issue, but
it's irrelevant for my use, so I'm not going to press the issue.
I believe these are still glitches:
1) The combinations of visarga + udatta and visarga + anudatta are
still badly positioned. The addition of the visarga shouldn't
change the placement of the udatta or anudatta with respect to the
base character.
2) The combinations of the udatta and anudatta with the Devanagari
digits 1 and 3 still look off to me: the udatta could be better
centered and the anudatta could be lowered a bit to separate it
from the digit.
However, these are consistent with other rendering engines we've
tried, so they would appear to be font issues. I'll take them up with
the font studio.
Hi, Arthur,
Thanks for pointing me in the right direction.
Yes, please do close the ticket.
Best wishes,
David.
Hi David,
Many thanks for forwarding the issue to the XeTeX list, and for this comment on the ticket. If it’s satisfactory to you I’ll now close it, keeping in mind your recommendations for an optimal implementation (unlikely to happen soon, though, I’m afraid).
Best,
Arthur