-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Sanskrit and Pali, especially ṁ #97
Comments
Even though it’s not encoded as a precomposed glyph, Source Serif already supports ṁ. You can use m followed by U+0307 COMBINING DOT ABOVE, which is defined by Unicode to be canonically identical. |
Thanks for the help, I didn't realize this. What i have found is that using the precomposed glyph ṁ it "just works" in HTML, so presumably the browser is clever enough to compose the glyph. However in LuaLaTex that doesn't work; you have to add m + U+0307. Which is okay as a workaround, but still, it'd be nicer without this gotcha. |
You should be able to use the \usepackage{newunicodechar}
\newunicodechar{ṁ}{m\char"0307} (Incidentally, when do you use ṁ? I’m familiar with IAST which uses ṃ for the anusvara) |
Thanks for the tip.
I run SuttaCentral, which uses ISO 15919. It's technically superior on several grounds, not least in maintaining consistency between multiple Indic languages. Incidentally, I was just doing some background research today, and I discovered to my surprise that ṁ overdot was, in fact, the recommended character for anusvāra at the Geneva Orientalist Congress of 1894, and therefore is the official IAST form. No idea how everyone started using ṃ underdot! |
The ISO standard for Sanskrit/Pali requires ṁ, which is still missing for Source Serif. There are very few quality fonts for ancient Indian languages, and in the free world, none with Source's qualities.
The blog post for Source Serif 4 indicates that AL-5 support is upcoming, which includes ṁ. Yay! So +1 for this! 👍
Meanwhile, thanks to everyone who has made Source Serif happen. I'm using variable fonts with optical sizing on the web. For free! And it just works! Amazing how far we've come. 🙏
The text was updated successfully, but these errors were encountered: