2009-04-30

Correct Pali fonts display and Firefox 3.5?

There are a good number of Pali font resources out there allowing Pali to displayed with diacritics and all -- but the problem for online resources always has been that the user must have the specific font that was used installed on his computer.

All this might be about to change, at least for Firefox users: the upcoming Firefox 3.5 has functionality with which websites can make fonts automatically downloadable and so display text correctly even if the font is unknown to the user. Firefox 3.5 is currently in beta.

More on downloadable fonts from mozilla.org with coding examples:
@font-face provides an @rule to specify a web font that needs to be downloaded to render the web page as expected by the page author.
[...]
When rendering a page using downloaded fonts, Firefox first renders using available fonts, then updates the display as downloadable fonts are retrieved. This allows the content to render quickly and refresh to match the intended look over time.
There is a long list of Pali fonts at the Association for Insight Meditation. and a longer resource with keyboard layouts at SanskritWeb.
URW Palladio SKT (Font for Sanskrit, Vedic, Pali, Tamil) includes all diacritics for Classical and Vedic Sanskrit in both lowercase and uppercase. In addition, it includes all intonational accented vowels for Vedic Sanskrit in lowercase and additional vowel diacritics for Pali.
So far I have not been successful in making it actually work, as the changed unicode characters seem to display still wrongly. The example below is in URW Palladio SKT (the font is about 50kb):

pāõÀtipÀtÀ veramaõÁ sikkÀ-padaÉ samÀdiyÀmi.
itihidaÚ Àyasmato koõçaððassa,
anna-koõçaððo'tveva nÀmaÚ, ahosÁti

The result should look like this -- and comments how to achieve this will be very welcome!):




Example without downloadable fonts (but the correct font installed on the computer):
pÀõÀtipÀtÀ veramaõÁ sikkÀ-padaÉ samÀdiyÀmi.
itihidaÚ Àyasmato koõçaððassa,
anna-koõçaððo'tveva nÀmaÚ, ahosÁti
Further discussion on The Pali Collective here.

No comments:

Post a Comment

 
TopOfBlogs Religion Buddhism Blogs - Blog Catalog Blog Directory Top Religion blogs Free Blog Directory Blog Flux Directory