09-29-2019, 02:52 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2019
Device: Kobo Aura H2O 2nd Edition
|
Problem with an embedded font on Kobo e-reader
Hello,
I have created an e-book in which I would like to use an embedded font for some parts of the text. I have the following in a css file: @font-face { font-family: "Open Sans"; font-weight: normal; font-style: normal; src: url(../Fonts/OpenSans-Regular.otf); } This is used as follows: .sansserif { font-family: "Open Sans", sans-serif; } I created the e-book with Sigil. The preview in Sigil works, it also works in Calibre. But when I copy the e-book to my Kobo reader (Aura H2O 2nd edition), only one font is used. Not the special one I embedded, and not the fallback sans-serif font, but the "default" serif font I use for all the other text in the book. This is my first self-created e-book, and I don't have a different e-reader to test with. So I have no comparisons. What could be the problem here? Thanks for any help! |
09-29-2019, 06:03 PM | #2 | |
Resident Curmudgeon
Posts: 73,976
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Code:
font-family: sans-serif; As for your CSS code, it looks good unless it's your pointer to the font file. |
|
Advert | |
|
09-30-2019, 11:46 AM | #3 |
Well trained by Cats
Posts: 29,801
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Is you Kobo set to use Publishers font for that title? (the Aa font setting, while reading should offer that choice)
|
09-30-2019, 12:48 PM | #4 |
Resident Curmudgeon
Posts: 73,976
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I just tested embedded fonts with my H2O on 4.17.x (latest) and found that when the font was embedded, it displayed and where it wasn't, the font of my choice was displayed.
|
09-30-2019, 02:09 PM | #5 | |||
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2019
Device: Kobo Aura H2O 2nd Edition
|
Quote:
Quote:
Quote:
Any other ideas? It is very frustrating that such trivial functionality is not working :-( |
|||
Advert | |
|
09-30-2019, 03:06 PM | #6 | |
Resident Curmudgeon
Posts: 73,976
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
10-03-2019, 12:31 PM | #7 |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2019
Device: Kobo Aura H2O 2nd Edition
|
Hi,
I found the problem. After upgrading to the 4.15.x firmware I patched it for the first time, without knowing what was included in the patch. I took a pre-done patch from somebody else. Now I looked through all things which could be enabled in a patch, and one of the enabled functionalities was the reason that multiple fonts are not working. Now I fixed it by creating a patch myself (and I updated to the newest firmware). Thanks for your answers. |
Tags |
embedded, font, kobo |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Embedded font problem | rbruce1314 | Sigil | 17 | 07-18-2017 08:30 PM |
Embedded font question/problem | pmorris | Editor | 13 | 05-12-2014 03:19 PM |
Which Kobo Embedded Font Do You Use Most Often? | justywusty | Kobo Reader | 89 | 07-11-2013 10:18 AM |
Embedded font problem | Moonraker | Sigil | 13 | 05-21-2013 05:33 PM |
problem with embedded font | ericshliao | EPUBReader | 2 | 12-11-2009 10:04 AM |