Thread: PRS-T1 Devanagari?
View Single Post
Old 06-07-2013, 03:51 AM   #1
democrite
Evangelist
democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.
 
Posts: 441
Karma: 77256
Join Date: Sep 2011
Device: none
Devanagari?

Hi,

Has anyone been able to successfuly display Devanagari script on their T1? The following is the font declaration:

Code:
@font-face {font-family: "Devanagari MT"; font-weight: normal; font-style: normal; src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/DevanagariMT.ttf);}
@font-face {font-family: "Devanagari MT"; font-weight: normal; font-style: italic; src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/DevanagariMT.ttf);}
@font-face {font-family: "Devanagari MT"; font-weight: bold; font-style: normal; src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/DevanagariMT.ttf);}
@font-face {font-family: "Devanagari MT"; font-weight: bold; font-style: italic; src: url(res:///ebook/fonts/../../mnt/sdcard/fonts/DevanagariMT.ttf);}
That's included with an @include in the main CSS. I use this for all other fonts and they display correctly, including Chinese. But Devanagari displays only as question marks. I'd guess that the T1 might not support it but that'd be strange. I've also tried multiple Devanagari fonts with the same results.

Hope someone has had better luck.
democrite is offline   Reply With Quote