07-31-2014, 12:16 AM | #31 | |
Enthusiast
Posts: 25
Karma: 10
Join Date: Jul 2014
Location: Nelson New Zealand
Device: desktop app
|
Quote:
Fortunately my target audience, my books are Adventure Travel, are unlikely to possess a Kindle. They will probably read them on a phone. And here am I, somewhat a Luddite, reading things on my laptop. |
|
08-01-2014, 08:23 PM | #32 |
Resident Curmudgeon
Posts: 74,027
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The iPhone Kindle app will display embedded fonts in a KF8 (AZW3) eBook.
|
Advert | |
|
08-07-2014, 07:50 PM | #33 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
I think Hitch is aware of that, since I dimly remember bringing it up here once before, but one reason KDP might be so finicky with custom fonts is the (heavily? weirdly? patched) font rendering engine used on the eInk Kindles. Since the K3, we (when playing with custom font hacks) have demonstrated that it sometimes horribly mangles some fonts, or just plain crashes when rendering some fonts. And it's specifically an issue with Amazon's patches, since replacing the library responsible for font rendering with a recent vanilla copy miraculously solves everything (well, except truetype fonts with broken bytecode, of course, but those are relatively few and far between, and easy to check for, since they're broken on anything using FreeType's BCI).
Don't ask me why they haven't bothered fixing it since the K3, though ;D. Although they did close a somewhat easily accessible undocumented entry point for system-wide user-configurable custom fonts at one point of FW 5.x's life, probably for that reason. Last edited by NiLuJe; 08-07-2014 at 08:03 PM. |
08-07-2014, 08:49 PM | #34 |
Resident Curmudgeon
Posts: 74,027
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
At least I know my modified Charis SIL works well with Amazon's font engine.
|
08-08-2014, 04:48 AM | #35 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
We haven't quite figured out what's changed (back to fonts). Depending on the book-building method, some (zipped html files) are working, but KP- and KG-built mobi's aren't (from the SAME source files, mind you). It's enough to make ya take up serious drinking. Oish. Hitch |
|
Advert | |
|
08-08-2014, 05:02 AM | #36 | |
Enthusiast
Posts: 25
Karma: 10
Join Date: Jul 2014
Location: Nelson New Zealand
Device: desktop app
|
Quote:
Humm. So maybe it hasn't been me after all. I've followed the embedment method pretty closely and still am having no luck in getting the embedded fonts to stick despite using various different single fonts for my chapter headings in a number of different ebooks. I've downloaded a few mobi files previously uploaded to KDP from the previewer and the font is there, just not when it gets to the public side. In some ways this is good news, ie, it might not be my markup, but hopefully KDP will resolve things shortly. |
|
08-08-2014, 04:37 PM | #37 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
You're saying that you're seeing fonts in the online Previewer, but NOT seeing them in the downloadable samples or books, from the books on sale? You're the second person that's said this, and I'm downloading samples from our books, and the fonts ARE there. hmmm. Hitch |
|
08-09-2014, 04:05 AM | #38 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Jul 2014
Location: Nelson New Zealand
Device: desktop app
|
Hitch
I'm uploading the ebooks as an epub. There is only one embedded font used in one class, for chapter titles. I'm seeing the embedded fonts in the online Previewer after I've uploaded the book. I'm even seeing them in the Download Book Preview File in the Downloadable Previewer. But the embedded fonts are not present over on the public Amazon site although everything else in the CSS is, ie, color, size, indent. It's just my fonts being stripped. I've tested this with six different books uploaded in the last few weeks. Different fonts, TTF and OTF, same problem. No quotes on fonts, single quotes, double quotes, any variation you could come up with. Everything else in the ebook in the Kindle store looks good, the CSS is working otherwise. This is my mystery but perhaps it's good that it is now also being noticed by others, might mean that it's not my markup at fault. |
08-09-2014, 02:52 PM | #39 | ||
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
GJ: That's interesting. I've heard one other guy mention this, but it's not clear to me whether he's using Jutoh or doing his books by hand. He heavily recommends Jutoh for DIY'ers, but has posted a big long thread about the wonders of it over at the KDP, but at about the same time, he posted that his fonts were being eaten, too. At this moment in time, although something has patently changed at the KDP vis-a-vis fonts on INTAKE, we (as yet) are not seeing any fonts that are being eaten in the PW (Publishing Workflow). We are still seeing that the SRL (Start Reading Location) has been changed yet again--our former workaround is not working now, but we HAVE been able to persist with fonts thus far. I can't say as to why you're having issues. From what I've seen, you shouldn' be, BUT, I will say that the KDP is extremely sensitive to WHERE and HOW the fonts are called, in the CSS. Were I you, I'd start bracket-navigating. I'd do one font, and see what happens. Then add another, class-by-class. If I were a guessing man, which I'm not, I'd guess you have a class conflict. Not something that will show up in any check; I mean, something that the KDP doesn't like, like...calling the font in "bodysection," or something like that. I was going to ask you whether you were setting the fonts in the body tag, versus the paragraph tag, but you're saying that you ARE seeing fonts in the online Previewer and download preview MOBI, but NOT in the for-sale book. That's an oddity. WAIT: you don't mean, when you say Quote:
Hitch |
||
08-09-2014, 07:18 PM | #40 | |
Enthusiast
Posts: 25
Karma: 10
Join Date: Jul 2014
Location: Nelson New Zealand
Device: desktop app
|
Quote:
I did once buy one of my own books early on but there were no fonts there. If others, such as yourself, are still getting their custom fonts embedded then it's obviously my dumb markup. If only one other ebook creator has a problem then it's probably coincidence, still my markup. If everyone has a problem then it ain't me at all. But I guess we would hear about that quickly. I'm only wanting to use one custom font, but I'm not getting the sans-serif fall back either. That hints at a CSS issue, I guess. Humm, I'll have to examine this class conflict stuff. I'm using more or less the same style sheet for the six ebooks so if there's a simple conflict that would explain why they are all carking it. Thanks for that. GJ Last edited by GJ Coop; 08-09-2014 at 07:20 PM. Reason: clarification |
|
08-09-2014, 07:37 PM | #41 |
Resident Curmudgeon
Posts: 74,027
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
If you pot the CSS, maybe Hitch will take a look at it.
|
08-10-2014, 06:33 PM | #42 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
When the other guy at KDP claimed that his fonts were getting eaten in the PW, (although, n.b., it's not clear to me that they WERE showing up in the Step-6 preview mobi), I downloaded samples of a random 5 of our recently-uploaded books, and all their fonts were there. So at this point in time, as far as I know, we're not having this issue. Our testing is not definitive, but usually, what we find, is something that shouldn't negatively affect the fonts, but does. For example: we have a book that has two "bodysections," for all intents and purposes, big divs. Font A is used for one; font B is used for another. A third font, a handwriting font, is used intermittently throughout. Right now, we're struggling because when we call the handwriting font, the arial (Font A) stops working/displaying. At this moment, who knows what that is? The fonts, which it could be, or something else? What we usually find is that somewhere, somehow--in no discernible pattern--it's something in the CSS *and* the HTML. We had a book that had a body-tag font set, and a bodysection tag set, (same font, mind you), and that wiped out all the font B headings. When we removed the bodysection font call...everything worked. It's not yet remotely predictable. There are some things that you can work out and avoid, but there isn't an easy way to come up with what will and won't work. The best practice is to start out with something incredibly simple--font strictly for, say, chapter headings--and work your way OUTWARD from there. Otherwise, it's nearly hopeless. You have to bracket-navigate your way around the troubleshooting. That's my best advice. @Wolfie: normally, I'd be happy to look at his CSS, but in all likelihood, that alone isn't the problem. It might be--but as demonstrated in my examples, above, it's usually a combination of things, and how they're used. I spend a ludicrous amount of time GUESSING at things, using my gut, and I'm lucky a lot. But that's just shortcutting after several years of messing about with it. Hitch |
|
08-12-2014, 06:53 PM | #43 | |
Enthusiast
Posts: 25
Karma: 10
Join Date: Jul 2014
Location: Nelson New Zealand
Device: desktop app
|
Ha, still going here, don't know why I don't just put myself out of my misery.
I have done a revision of the stylesheet for each book and have found a few anomalies which have been corrected. For the record I had my images with two conflicting classes which still managed to show up OK in the public books all the same. I had for some reason: list-style: none; instead of list-style-type: none; I've switched that around. My recent background is web development so my ebooks are very simple with the CSS, my file is just over 1k, there are not many classes, I have a basic seven. I see some of the automatically generated CSS files clock in at 30k. Having a look at how all over the place other people's markup is, a new class for each paragraph almost, I wonder how they troubleshoot that barrel of odds and ends. The CSS looks like this with a few working classes left out. Quote:
Sorry to go on about this but I'd love to work it out. Remember this all looks just fine when previewed using Book Preview and in the file downloaded on the Edit Book Details page of KDP. |
|
08-12-2014, 07:49 PM | #44 |
Resident Curmudgeon
Posts: 74,027
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Your @font is incorrect. This is how you have it.
Code:
@font-face { font-family: "Abel"; font-style: normal; font-weight: normal; src: url("../Fonts/Abel-Regular.ttf") format("truetype"); } Code:
@font-face { font-family: "Abel"; font-style: normal; font-weight: normal; src: url("../Fonts/Abel-Regular.ttf") } |
08-12-2014, 08:33 PM | #45 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Jul 2014
Location: Nelson New Zealand
Device: desktop app
|
JS
Thanks for that. But I'm pretty sure that isn't my issue, I've tried that and every other combination conceivable. The file I download from Book Preview on the upload page looks correct in the Kindle Paperwhite Previewer app, in The online previewer also looks good. It's the Amazon Previewer screen, one on the public side, that looks not so good, the fonts stripped. Here's a few screen shots. There's three that show what I want and one that shows what I get. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom fonts K4 | artcon | Kindle Developer's Corner | 2 | 05-11-2014 04:34 PM |
Custom fonts | Jellby | PocketBook | 20 | 12-31-2013 09:07 AM |
PRS-T3 T3 fonts & custom fonts | Phil_C | Sony Reader Dev Corner | 5 | 12-22-2013 02:34 PM |
Stripping Fonts | Rob Lister | Calibre | 2 | 10-05-2011 11:32 AM |
Touch Fonts question (special characters in stock and custom fonts) | levil | Kobo Reader | 20 | 09-23-2011 01:51 PM |