01-22-2022, 12:25 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2022
Device: none
|
Hebrew niqqud not rendering right with embedded font
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? |
01-23-2022, 08:24 AM | #2 |
Grand Sorcerer
Posts: 5,626
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
I was able to reproduce this issue. This is most likely a limitation of the AZW3 format.
IIRC, Amazon never officially supported RTL AZW3 books. In the .kfx version, the two embedded RTL fonts (Noto Sans and David Libre) were rendered, regardless of the Publisher Font setting. BTW, since all eInk Kindles that support RTL books also come with Hebrew fonts, you won't have to embed a Hebrew font. Last edited by Doitsu; 01-23-2022 at 09:56 AM. |
Advert | |
|
01-24-2022, 03:44 AM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2022
Device: none
|
Thanks for the reproduction! Good to know it wasn't just me. (Also I only just realized I could screenshot my Kindle thanks to your post, so double-thanks.)
I know I could get away without embedding a font... I'm just being fussy about typesetting, I guess. I wonder what percentage of readers override the publisher font anyway. Wondering if it's worth trying to distribute KFX files or just stick with my current solution (of a Kindle-specific version that hides the niqqud). |
01-24-2022, 10:44 AM | #4 | ||
Bookmaker & Cat Slave
Posts: 11,468
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
MANY. I can't tell you how many people I've met who don't even know that their Kindle PPW, Voyage, Oasis, etc. just defaults to some other font and Publisher Font has to be actively chosen by the reader. It won't open, by default, in PF, even if you've broken Amazon's rules and told the "body" element to be David Libre or what-have-you. Quote:
Excellent question. Does the extant, Kindle-provided Hebrew font work worth a damn for you, when you don't embed one? Hitch |
||
01-24-2022, 10:54 AM | #5 | |
Grand Sorcerer
Posts: 6,621
Karma: 85000001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Quote:
Do you mean that the standard set of fonts (Amazon Ember, Bookerly, etc.) have glyphs for Hebrew, that there are specific fonts for Hebrew, or are you referring to the fallback font (Code2000 I believe)? |
|
Advert | |
|
01-24-2022, 12:40 PM | #6 | |
Grand Sorcerer
Posts: 5,626
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
01-24-2022, 01:30 PM | #7 | |
Grand Sorcerer
Posts: 6,621
Karma: 85000001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Quote:
|
|
01-24-2022, 02:03 PM | #8 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2022
Device: none
|
Quote:
I also don't know Hebrew well enough to feel like my opinion is truly informed; mostly going by aesthetics here. (Arabic characters I have much stronger feelings about, but thankfully this particular text I'm preparing can get away without them. ) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Embedded Style and Embedded Font labels truncated in KA1 | sladflob | KOReader | 2 | 06-25-2020 08:43 PM |
Stuck on embedded Hebrew font in ePub | Gringo | ePub | 29 | 03-22-2016 12:37 AM |
Certain font characters not rendering in the correct font | omskillet | Kindle Formats | 14 | 11-29-2013 03:12 PM |
Mini advanced font settings ignored in one book - embedded font? | lordofazeroth | Kobo Reader | 4 | 09-20-2013 02:15 PM |
embedded font - now line with embedded font not re-flowing | Kaylee Skylyn | ePub | 23 | 08-09-2012 07:30 PM |