05-11-2012, 12:57 PM | #1 |
Browser
Posts: 745
Karma: 578294
Join Date: Apr 2010
Location: Australia
Device: Kobo Touch, Kobo Aura HD
|
Help please with dropcap/font issue
I'm having a problem with a commercial epub file that's formatted with embedded fonts and a dropped cap at the start of every chapter. Neither is showing up on my Touch, which is running the latest firmware with no hacks or customisations, and I can't figure out why.
Because I'm trying to learn HTML/CSS formatting for epub (and also because I want it to work!), I'd be grateful if anyone has any insight into why this file won't display as designed on my KT. It works fine on my Win7 PC in both ADE and the latest version of Sigil. But on my KT, I can't get the embedded fonts to show up, no matter what font setting I choose (even after I copied the fonts in question into a fonts folder on the KT), and the dropped cap shows up with the spacing as dictated in the CSS, but the cap itself appears unbolded and the same size as the regular body text. I've attached a drastically cut-down copy of the book in question, with the fonts and CSS included, just the opening page of the first chapter that uses a dropped cap, and all but the necessary graphics removed. I'd be grateful for any observations people can make as to why this isn't working on my Kobo. Thanks! (p.s. Not relevant to my enquiry, but: The book in question is "Into Thin Air" by Jon Krakauer, a first-hand account of a terrible day in May 1996, when disaster descended onto four separate expedition teams at or near the summit of Mount Everest, killing a dozen climbers. Tragic story, but I thoroughly recommend it for a gripping real-life read and a cautionary tale on the perils of hubris and taking Nature for granted.) |
05-11-2012, 01:43 PM | #2 |
Enthusiast
Posts: 40
Karma: 10
Join Date: May 2012
Device: Kobo Touch
|
It doesn't work for me either, but note that the dropcaps style has an absolute size for font-size. That really is not correct if you are going to be changing overall font-size in the document. I changed it to 400% and then it worked just fine on the Kobo. I didn't look into the issue of font-weight but prima facie I don't see where it is set to bold, so that should be easily fixable as well.
|
05-11-2012, 02:07 PM | #3 | |
Browser
Posts: 745
Karma: 578294
Join Date: Apr 2010
Location: Australia
Device: Kobo Touch, Kobo Aura HD
|
Thanks for looking at it, BB.
Quote:
Thanks again! (I've got a couple of teach-yourself books on HTML and CSS generically, but does anyone know of any that deal with how these are applied specifically to ebooks?) Last edited by MacEachaidh; 05-11-2012 at 02:09 PM. |
|
05-11-2012, 02:19 PM | #4 | ||
Enthusiast
Posts: 40
Karma: 10
Join Date: May 2012
Device: Kobo Touch
|
Quote:
Quote:
|
||
05-11-2012, 05:51 PM | #5 |
Grand Sorcerer
Posts: 12,117
Karma: 73448614
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help with font issue please | MattI | ePub | 4 | 01-26-2011 07:12 PM |
Hacks Font Size Issue | relayer250 | Amazon Kindle | 3 | 12-30-2009 12:02 AM |
Calibre, EPUB and DropCap size | jackie_w | Calibre | 2 | 11-13-2009 11:44 AM |
Strange new Font issue. | shighfield | Fictionwise eBookwise | 2 | 08-22-2009 11:25 AM |
font issue | msl | Calibre | 5 | 12-13-2008 01:23 PM |