Greek characters with diacritics in ADE

You’ve added some greek characters with diacritics in your ePub and it looks fine on almost all the readers… except Adobe Digital Editions. There the characters appear as question marks.

The problem is that the font used by Adobe supports only a small subset of characters, which, among others, doesn’t include these greek characters with diacritics.

There are two possible solutions:

  • If there are only a few words using these characters, convert them to images. This is not the best solution as you’ll have problems when the user zooms the text. And having text as images is generally a no-no.
  • Include a font supporting all the characters needed in the ePub. This is the recommended solution.
You can get  the fonts at Greek Font Society. It’s free and with a license that allows you to use them for personal and commercial purposes.
The CSS to use the font and apply it to a greek CSS class:


@font-face {
font-family: "GFSArtemisia";
font-weight: normal;
font-style: normal;
src: url(../Fonts/GFSArtemisia.ttf)
}
.greek {
font-family: "GFSArtemisia", serif;
}

This CSS fragment assumes the ttf file is on a Fonts/ directory above the one where the css file is. Adjust the path as necessary.

I’ve found this solution in this thread at MobileRead forum, by user omk3. There’s also an example epub  he created it to show how it’s done.

 

<rant>If we add this problem to the poor CSS support,  Adobe Digital Editions (ADE) is like the Internet Explorer of ebook readers.</rant>

References

 

You’ll find the rest of the tips listing the posts with the tag epub-tips.

Categorías: ePub

Leave a comment