Copy link to clipboard
Copied
Hi,
I know HTML and CSS pretty well but this one is throwing me. I'm proofing my epub in MS Edge browser, the Kindle Preview and downloading as a .mobi for the Kindle. For some reason my Bookerly font is being ignored. In Edge is reverts to Times and in the Kindle I noticed it is defaulting to the 'Publisher's Font', which is some sans serif font. Yet the Kindle Preview on the kindlepreview website IS showing Bookerly. Of course I can change it in the Kindle but I want it to default to Bookerly. The CSS in idGeneratedStyles_0 is:
@Blissful_help0D4E-face {
font-family:Bookerly, serif;
font-style:normal;
font-weight:bold;
src : url("../font/Bookerly-Bold.ttf");
}
etc etc
As you can see it references the font folder one level above, and this contains the correct Bookerly .tff files. At no point is any other font declared in my CSS (I've searched all CSS files in Dreamweaver for 'font-family'). Each page references different CSS files but none of them call up any other font. Page two displays Bookerly so I checked the code for both the HTML and the CSS and there is nothing breaking the code. I've additional xtra.css included in my .epub but that doesn't reference any font.
Is this a known issue with either InDesign (doesn't seem to be as the HTML makes sense)? Should I strip out all font references for the Kindle to display in Bookerly by default? I don't want to do that because if people choose to read it in other readers I'd like it displayed in Bookerly. Maybe Kindle always defaults to something other than Bookerly? That doesn't make sense though.
Any tips/pointers to ensuring Bookerly is the preferred font?
Hi guys,
OK, I found the culprit at 2am this morning. It was a corrupt font file. I hadn't bothered to check the font files when breaking out the epub folder but did so on a whim and there it was. Happy to report that this was the last problem I was dealing with so I was able to go ahead and submit my book to Amazon, and it has been accepted and published! Very happy with the whole process, considering I only started teaching myself InDesign last week
Thanks to you both for your assistance.
Copy link to clipboard
Copied
Edge is not the tool I'd be using to check this but, is that an bookerly and opentype font?
Copy link to clipboard
Copied
It shouldn't matter, Bob, because I've declared it in my CSS. The same thing is happening when downloaded as a .mobi onto my Kinde though.
Copy link to clipboard
Copied
It might matter. What format is the font? If it's not opentype, I strongly recommend trying a font that is just to test it.
Copy link to clipboard
Copied
Right, ok, I understand. I'll try something else...
Copy link to clipboard
Copied
Still searching for an openfont to test this but in the meantime from what I've been reading Kindle actually prefers ttf.
Copy link to clipboard
Copied
Many TTF fonts are actually OpenType. There’s a gazillion to choose from.
Try Minion Pro.
Copy link to clipboard
Copied
Funnily enough that's what InDesign was defaulting to. Not sure if that's the same across the board but I wrote it off because I was so keen to get Bookerly installed, but yeah, I'll give that a go and report back.
Copy link to clipboard
Copied
One other thing…what are you EPUB export settings?
Copy link to clipboard
Copied
Version EPUB 2.0.1
Preserve appearance from layout
Include classes in HTML/generate CSS/Include embeddable fonts
Should I be exporting in EPUB 3.0?
Copy link to clipboard
Copied
That’s why I asked. You should absolutely be using version 3.
Copy link to clipboard
Copied
And try/ test your ePub on several devices and readers.
Copy link to clipboard
Copied
Hi guys,
OK, I found the culprit at 2am this morning. It was a corrupt font file. I hadn't bothered to check the font files when breaking out the epub folder but did so on a whim and there it was. Happy to report that this was the last problem I was dealing with so I was able to go ahead and submit my book to Amazon, and it has been accepted and published! Very happy with the whole process, considering I only started teaching myself InDesign last week
Thanks to you both for your assistance.
Copy link to clipboard
Copied
Glad you got it sorted.
Copy link to clipboard
Copied
Likewise
Copy link to clipboard
Copied
Hi,
Did you change to ePUB 3 in this last export?
Regards
Copy link to clipboard
Copied
I did. Didn't appear to make any noticeable difference to the html structure but I didn't examine it closely.
Copy link to clipboard
Copied
Hi,
There are many improvements to support more tags in HTML 5 - article, sections, aside. Is possible to mark paragraph style with better HTML5 tags and getting less div tags from InDesign ePUB export. Beside, more support to CSS3 also
Getting more information about epub export panels in this my article - http://epubsecrets.com/ebooks-from-indesign-twenty-things-to-consider.php
Regards
Find more inspiration, events, and resources on the new Adobe Community
Explore Now