|
|
#1 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 193
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
|
Embedded Fonts Not Displaying in EPUB
I'm using EPUB, not KEPUB, which I acknowledge may be the issue! But I don't know, so I figured I'd ask.
I have a few books that occasionally use non-standard characters, like writing ancient Greek. When this happens, there's a blank space in the book where the word should be, presumably because my user-added font doesn't have the right characters. But is this really how it works? There's just a blank space, even if the font embedded in the book DOES have the right characters? The Kobo doesn't default to the embedded font for that word? I fixed it by going into the ebook files and creating span classes that set the embedded font around those words, like so .accent { font-style: normal; font-weight: normal; font-family: "DejaVuSerif"; } And I'm happy to keep doing that; it's not going to be a common enough issue to bother me. I'm just wondering if there's a neat little trick (like with the config file or something) to tell the Kobo to use the embedded font by default if the word won't display. ? |
|
|
|
|
|
#2 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,013
Karma: 153695583
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Please show is your HTML and CSS for where the embedded font is being used. It's a guessing game otherwise.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 193
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
|
I don't think it's a CSS question? I'm asking if the Kobo or the file defaults to the embedded font if the specified one doesn't have the correct characters.
The issue in this file was that whoever made the ebook forgot to use the relative span classes around some instances of the not-English. I was surprised the Kobo would show a blank space rather than pulling something from the embedded font/s. But I guess that's just not how they work? Last edited by Siavahda; 07-01-2026 at 12:15 PM. Reason: clarifying |
|
|
|
|
|
#4 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,013
Karma: 153695583
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
There's a solution for that. Use a font that has the non-English as your main font. For example, ChareInk7SP has a lot of non-English in it.
|
|
|
|
|
|
#5 | |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 52,842
Karma: 180988364
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
For epubs, you need to embed the fonts and then specify using that font for those glypjs which can be a total pain at times. |
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,013
Karma: 153695583
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I find that ChareInk7SP is a rather good font for most glyphs you'd need.
|
|
|
|
|
|
#7 | |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 52,842
Karma: 180988364
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Compare this to Code2000 which offers 63153 glyphs or Microsoft Arial Unicode MS which offers 50,376 glyphs. Admittedly this comes at the cost of 11MB and 22MB file sizes and no italic/bold/bold-italic variants. |
|
|
|
|
|
|
#8 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,013
Karma: 153695583
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
|
|
|
|
#9 | |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 52,842
Karma: 180988364
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
|
|
|
![]() |
| Tags |
| embedded fonts, epub, kobo |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| embedded fonts in epub | serendipity22 | Sigil | 34 | 03-09-2023 01:54 PM |
| Embedded fonts in epub | Jellby | Kobo Reader | 8 | 07-25-2014 01:24 AM |
| Fonts not being embedded (epub) | soundsfromsound | Calibre | 19 | 10-04-2013 01:31 PM |
| ePub embedded fonts | JSWolf | Ectaco jetBook | 9 | 09-14-2009 08:43 PM |
| ePub + Embedded Fonts | Cygfrydd | ePub | 11 | 03-02-2009 05:56 PM |