Looking for "Devanagari" typeface for Mac OS X 10.6.3

JkArtSolutions's picture

Hi friends,
i am looking for the "Devanagari" typeface that I can use for Mac OS X 10.6.3 system. Can anyone help me for this?
Thanks in advance.

bojev's picture

Google Devanagari and you should find a wide selection

Michel Boyer's picture

According to the Character Viewer, the only font that comes installed with OS X 10.6 and that contains the character "DEVANAGARI LETTER A" is the font "Devanagari MT". It is in the folder /Library/Fonts.

JkArtSolutions's picture

Thanks friends. so it is only one font there. No more???

Michel Boyer's picture

Another way to check is to install Apple Font Tools and use the ftxinstalledfonts -U command that lists all installed fonts containing the unicode character given as a parameter. The letter DEVANAGARI LETTER A is 0x0905. Here is a trace on my system

% ftxinstalledfonts -U 0x0905 -f | grep YES
111 65655 YES Devanagari MT
112 65656 YES Devanagari MT Bold
%

(with grep, I selected only the lines with YES as an answer). If you use ftxinstalledfonts -U 0x0905 -f -l you also get the full path of the font file. You can try yourself to see if you get more in India...

EDIT The command will however also list all the fonts you installed yourself.

Michel Boyer's picture

There are many indic fonts around but they are not interchangeable. The font "Devanagari MT" is a font with an AAT automaton and using it, Safari can display properly http://hi.wikipedia.org for instance. That font can also be used with textedit and with pages. So far as I understand, it cannot be used with inDesign (correct me if I am wrong). To edit texts with inDesign, you need a properly designed opentype font, and it is my understanding that inDesign also still needs a plug in to use those opentype flavored fonts. The only tool I know that can use correctly both types of fonts is XeTeX. If there is more, I'd like someone to tell. There are also other editing softwares that use other encodings. The main difficulty with indic fonts is that characters in words need to be reordered (an r can end up as an upper diacritic on the next or second next letter, etc.) The software needs to be able to handle that. To choose the proper font, you need first to consider what software you are going to use.

Michel Boyer's picture

I had never tried with Inkscape and I don't know what to conclude from my test of which here is a grab. Devanagari MT seems to be a fallback font. Verdana contains no devanagari glyph. If I select Devanagari MT, the text is not properly formated, but if I choose Verdana, it is, and it seems to use glyphs from Devanagari MT. The fonts Sahadeva and Nakula contain no AAT functionality.

I found no documentation on the Inkscape site and I have no time to check. Does anyone know how this works?

Uli's picture

I would be curious to know whether the brandnew Devanagari font Siddhanta works with Mac OS X 10.6.3. You may download it for free at my Sanskrit website:

http://www.sanskritweb.net/cakram

Siddhanta is the best-hinted and most-comprehensive Devanagari font ever made.

flooce's picture

Vesper will or has already a Devanagari script font as well. The roman script is—to me as a non-professional—one of the most interesting fonts out there, as it makes use of extensive contextual alternatives to make the letters fit with their surrounding best. Shown here on the section on contextual alternatives of Vesper. The roman is inspired by Devanagari in the first place. I think this typeface family definitely deserves some more attention.

Michel Boyer's picture

Uli

The font does not work with TextEdit. It seems to work with XeTeX, Inkscape and Microsoft Word for Mac 2011. I used as input the first lines of http://www.sacred-texts.com/hin/rvsan/rv01001.htm and here is how they are rendered in Word 2011:


Since I don't know Sanskrit, I can't tell if the utf8 input is correct or not. If you have a reliable input to check, that might help.

Michel

Michel Boyer's picture

I found the utf8 encoded input http://www.detlef108.de/RV-D-UTF8.html that seems to give a better test. Here is a grab of the output with XeLaTeX (on OS X 10.5).

JkArtSolutions's picture

Thank you so much for ur support :)

Michel Boyer's picture

I just checked and InkScape also handles properly the more complicated input found at the URL http://www.detlef108.de/RV-D-UTF8.html. However, this time, Word 2011 just returns a mess with Siddhanta.

Uli's picture

Michel Boyer:

Thanks for testing the Siddhanda font on a Mac. Both renderings are okay, but the source file of the first example (sakred-text.com website) has a few textual errors.

A reliable typesetting example of the text chosen by you may be found here:

www.sanskritweb.net/rigveda/rv01-001.pdf

The typesetting of this old Rigveda edition is historically interesting in that it used two so-called "split" PostScript Type 1 Devanagari fonts, because one single PS T1 font could not encompass all glyphs needed for rendering Vedic Sanskrit.

Michel Boyer's picture

Uli

I was aware of the link you are giving me (and I used it to check that my outputs were not too bad). The advantage of a pdf file produced with xeLaTeX with an opentype font is that it is searchable with the Acrobat reader (you can use a Davanagari keyboard to type in the search window). Also, with the Acrobat reader, you can select some Sanskrit text in the pdf and paste it in TextEdit or into the LaTeX editing window. To me, that feels much more friendly than using itrans, ltrans or the like but I agree that with Velthuis fonts for example, a preprocessor and latex, it was possible to produce nice looking outputs; I tried that, years ago.

Regards,

Michel

And, of course, you are no longer forced to work with a very limited number of glyphs.

Michel Boyer's picture

If someone with MacTeX wants to try, here is the content of the input file I used:

\documentclass{article}
\usepackage{fontspec}
\setmainfont[Script=Devanagari]{Siddhanta}
\begin{document}

\noindent
अ॒ग्निमी॑ळे पु॒रोहि॑तं य॒ज्ञस्य॑ दे॒वमृ॒त्विज॑म् । \\
होता॑रं रत्न॒धात॑मम् ॥ \\
अ॒ग्निः पूर्वे॑भि॒रृषि॑भि॒रीड्यो॒ नूत॑नैरु॒त । \\
स दे॒वाँ एह व॑क्षति ॥ \\
अ॒ग्निना॑ र॒यिम॑श्नव॒त्पोष॑मे॒व दि॒वेदि॑वे । \\
य॒शसं॑ वी॒रव॑त्तमम् ॥ \\
\end{document}

You need to specify the script else that does not work properly. For other indic fonts and other scripts than Devanagari, see the fontspec documentation (fontspec.pdf, 2695 K).

(Copy the lines above, paste them in a TeXShop edit window, save, and run XeLaTeX on them)

Michel Boyer's picture

I forgot to say that you need to save with the Unicode (UTF-8) encoding:

Uli's picture

Michel Boyer:

A handwriting of your above sample is shown here:

www.sanskritweb.net/deutsch/rigved.pdf

Michel Boyer's picture

Uli

I could not find the sample in the handwritten (picture) part of your link. Also, my German is too minimal to understand your texts and, since they are protected, I could not even take advantage of language tools. That said, your other (good looking) pdf, http://www.sanskritweb.net/deutsch/manuskr.pdf, contains a nice link I was not aware of, that of the Sanskrit Manuscripts at UPenn. Thanks.

Akhil's picture

IMHO

Regards

Syndicate content Syndicate content