|
|
#61 | |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,207
Karma: 13801264
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
Quote:
__________________
|
|
|
|
|
|
|
#62 |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,207
Karma: 13801264
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
Any word on embedded fonts from from Kobo?
__________________
|
|
|
|
|
Enthusiast
|
|
|
|
#63 |
|
himself
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 576
Karma: 1444
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. |
|
|
|
|
|
#64 |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,207
Karma: 13801264
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
Still no word.
__________________
|
|
|
|
|
|
#65 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 124
Karma: 9252
Join Date: Jul 2011
Device: (prospective) kobo touch
|
|
|
|
|
|
|
#66 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 271
Karma: 261602
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kindle Paperwhtie, Kindle Touch, Kobo Glo
|
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. |
|
|
|
|
|
#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.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
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 |