12-30-2010, 02:49 PM | #61 | |
Resident Curmudgeon
Posts: 73,974
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
01-04-2011, 09:06 PM | #62 |
Resident Curmudgeon
Posts: 73,974
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Any word on embedded fonts from from Kobo?
|
Advert | |
|
01-05-2011, 12:41 AM | #63 |
himself
Posts: 576
Karma: 11226
Join Date: May 2010
Device: Kobo
|
Some month ago there was a post on the subject from kobo guy.
I assume it would collide with change of font to sans. I also recall post, where someone removed that vanilla file and succeeded to get embedded. I might be wrong. |
01-17-2011, 09:35 AM | #64 |
Resident Curmudgeon
Posts: 73,974
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Still no word.
|
07-14-2011, 01:43 AM | #65 |
Zealot
Posts: 124
Karma: 9252
Join Date: Jul 2011
Device: (prospective) kobo touch
|
|
Advert | |
|
07-14-2011, 08:36 AM | #66 |
Wizard
Posts: 1,142
Karma: 5061953
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
|
It's very simple really. The Kobo overwrites the body font-family with either 'serif' or 'sans-serif', which is how they allow the user to choose a font face. For all intents and purposes, the .css code is appended.
If you want and e-book on the kobo to display an embedded font (defined in the .body), then you must use css codes that aliases those fonts. I've had to do this to fix books that use unusual characters that were not included in the original fonts (and would therefore display as ?) Ex: @font-face { font-style: italic; font-family: 'Liberation', serif, sans-serif; font-weight: normal; src: url(../Fonts/LiberationSerif-Italic.ttf); } @font-face { font-style: normal; font-family: 'Liberation', serif, sans-serif; font-weight: normal; src: url(../Fonts/LiberationSerif-Regular.ttf); } @font-face { font-style: italic; font-family: 'Liberation', serif, sans-serif; font-weight: bold; src: url(../Fonts/LiberationSerif-BoldItalic.ttf); } @font-face { font-style: normal; font-family: 'Liberation', serif, sans-serif; font-weight: bold; src: url(../Fonts/LiberationSerif-Bold.ttf); } I've not really tested this much yet, but I believe the Kobo touch, (at least, up to 1.9.4 firmware) allows embedded fonts to work without the hack. The trade-off, however, is that you can not set user font prefernences in those books. |
07-27-2011, 08:20 PM | #67 |
Zealot
Posts: 124
Karma: 9252
Join Date: Jul 2011
Device: (prospective) kobo touch
|
I've tried it with a cut down version of font modes (bold, normal, serif/sans etc) and it failed. If this method works, perhaps you must include ALL the options as above. A lazy inclusion of only some options will only display question marks.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with embedded fonts | James_Wilde | ePub | 25 | 09-24-2010 04:07 PM |
Embedded fonts, Calibre, and choice of fonts | AlexBell | ePub | 8 | 05-30-2010 06:00 AM |
iPad Embedded Fonts | JSWolf | Apple Devices | 24 | 04-26-2010 02:41 PM |
Embedded fonts in epub | erik5000 | ePub | 7 | 12-08-2009 11:55 AM |
ePub embedded fonts | JSWolf | Ectaco jetBook | 9 | 09-14-2009 08:43 PM |