Quote:
Originally Posted by davidgee
Thanks for your reply. When I convert to epub I have the same problem of characters not displaying correctly. But what did you mean by saying it could "embed the special font"? Do I have to do something to get it to do this?
|
If I've guessed right, then the Sanskrit text is being displayed in the PDF in a particular font, that doesn't have the usual character encoding. Which is why they look wrong when displayed without that font.
If you look at the PDF attributes with (say) Adobe Acrobat, you should be able to find the name of the font that's being used. The first step is to get a copy of that font, and confirm my guess.
You then need to code up the text that should be in that font with something like an html span, e.g. <span class="sanskrit">SANSKRIT TEXT HERE</span>, and then in the CSS specify that the sanskrit span should use the sanskrit font. And then you need to embed the sanskrit font in the ePub - there are messages here on Mobileread on how to do that.
And then you need to make sure you have permission to distribute the font in your epub...