Quantcast
Channel: MobileRead Forums - Kindle Formats
Viewing all articles
Browse latest Browse all 862

Hebrew niqqud not rendering right with embedded font

$
0
0
I'm trying to create a book that contains some Hebrew, and running into problems with embedding a font that renders properly. In the ePUB version, I'm embedding David Libre, which works fine. But, when I load it on the Kindle (converted with Calibre), the niqqud (Hebrew diacritics) don't get placed properly around the letters.

In the first image below, you can see that "Publisher Font" is selected, indicating it's using the embedded font file in the converted azw3 file. (To debug this problem, I've stripped out all CSS except for the rule that sets the font and aligns it to the right.) The niqqud are all shifted off of their letters, like the combiner is not working.

In the second image, I've changed the font to the copy that I added to the Kindle's font directory (so it shows up in the available font list) -- it's the exact same file as the embedded one, but now the niqqud display properly. (The same thing happens with any built-in font, or at least whatever they're using for the Hebrew fallback, since the characters look the same whether the rest of the body is in Futura/Bookerly/etc.)

I tried a number of other Hebrew fonts to make sure it wasn't an issue with David Libre, but they all exhibit the same phenomenon -- it functions fine when set to be the font for the whole book, but the embedded version is broken.

Is there some additional CSS that the Kindle applies when it overrides a book's font? Is there some other way I need to encode this text to make sure it can render properly? Or is using an embedded font for Hebrew just a lost cause?

Attached Thumbnails
Click image for larger version

Name:	IMG_8570.jpeg
Views:	N/A
Size:	75.9 KB
ID:	191781   Click image for larger version

Name:	IMG_8569.jpeg
Views:	N/A
Size:	73.5 KB
ID:	191782  

Viewing all articles
Browse latest Browse all 862

Trending Articles