![]() |
#91 | |||
Books are brain food.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,950
Karma: 4836916
Join Date: Nov 2010
Location: U.S.
Device: Paperwhite · Fire HD6/HD8/HD10 · Galaxy Tab A7
|
Quote:
Quote:
Here is an example from one of my e-books that I posted at the beginning of this thread so you can see what I'm talking about with the excessive two-letter hyphenation: [sorry, image link broken] I think that's ugly! Also, some readers absolutely HATE auto-hyphenation, to the point where they will complain to Amazon about it. Then the author receives a "quality control" notice from KDP, who may withdraw the book from sale. Readers aren't used to seeing auto-hyphenation in Kindle books; many will assume that the author/publisher made those bad hyphenation choices. Quote:
body {-webkit-hyphens:none; hyphens:none;} I tested that and wasn't happy with the results. It produced a lot of ragged-right lines, very obvious on the first page of the tested e-book. ![]() Last edited by DreamWriter; 07-01-2017 at 02:48 AM. |
|||
![]() |
![]() |
![]() |
#92 | |
Books are brain food.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,950
Karma: 4836916
Join Date: Nov 2010
Location: U.S.
Device: Paperwhite · Fire HD6/HD8/HD10 · Galaxy Tab A7
|
Quote:
My brain is fried for today, but that is at the top of my to-do list for tomorrow. ![]() Actually, that won't be a very difficult task. I have no problem navigating CSS/HTML/OPF/NCX, and I'm used to waiting for five hours between KDP uploads after doing this almost daily for a month. ![]() After the updated book is available for sale, I'll have Kindle CS push the latest version to my devices. Sometimes I can't be 100% sure if they've actually sent me the very latest version because the changes are subtle, but this one will be very easy to tell! I'll let you all know what happens! Edit: Hitch, do you like 1.2em for paragraph indents, as Jon suggested, or is there another em value you prefer? I may experiment with that, too. Last edited by DreamWriter; 03-14-2015 at 06:27 PM. |
|
![]() |
![]() |
![]() |
#93 | |
Books are brain food.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,950
Karma: 4836916
Join Date: Nov 2010
Location: U.S.
Device: Paperwhite · Fire HD6/HD8/HD10 · Galaxy Tab A7
|
Quote:
|
|
![]() |
![]() |
![]() |
#94 | ||
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Quote:
HOWEVER, that being said, if you're diligent, you can usually find very good substitutes that are uber-affordable. I like PTSans, for example, for a nice sans. And honestly, PTSerif isn't bad to match it, if you want serif/sans-serif as the theme. Neuton is a viable body font. Gentium Book can be nice, too. The trick is, in my opinion, not to just see a font and go nuts for it. Many (far too many) fonts nowadays are just slapped together, because the strokes look nice, with no consideration given to kerning, kerning pairs, the font metrics, etc. I gave an example about this very topic last night on the KDP forums (which of course went straight to mod hell..urghghghghg)...the good ol reliable print font, Garamond, has over 1300 kerning PAIRS, if you look at the three main faces: regular, bold, italic. (The topic at hand was "why can't the reading devices just kern on the fly, no matter what font size is chosen, or font" being complained about, of course, because the person asking understands nothing whatsoever about the complexities of kerning). So, to get a real feel for it, you actually have to do an entire PRINT page of layout, and an eBook page, and then stare at it. See if anything leaps out at you. Because if you choose the wrong font (for a body), it can actually tire the eyes, strain the reader, bring an unwanted element to the reader's enjoyment of the book. And that, obviously, would be BAD. This is why I tend to tell folks to stick to TNR and Caecilia, if they are unsure--because no two fonts in the history of humankind have ever been as tested, retested, designed, user-driven, etc., like those two. If nothing else, at least you know that they won't make your reader STOP reading early, because of eyestrain, or some other jiggery-pokery around the eyes that bothers them--even if they don't understand exactly what it is. See what I mean? Hitch |
||
![]() |
![]() |
![]() |
#95 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
I don't know what Hitch would say to that, but I upload all my books as epubs. (And it was Hitch who told me in 2012 that epubs converted fine on the KDP.) That way I don't have to maintain two versions, for Amazon and for all the rest (though the Amazon version doesn't include a cover, while the others do).
|
![]() |
![]() |
![]() |
#96 | ||
Books are brain food.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,950
Karma: 4836916
Join Date: Nov 2010
Location: U.S.
Device: Paperwhite · Fire HD6/HD8/HD10 · Galaxy Tab A7
|
Quote:
Quote:
The last time KDP suggested a specific change in my CSS, they told me to upload a mobi. I make both files anyway, since I test the Kindlegen-created mobi on my devices and validate an epub online at IDPF before upload. |
||
![]() |
![]() |
![]() |
#97 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
The other problem is that sometimes the reading program in use doesn't support kerning even if the font does. |
|
![]() |
![]() |
![]() |
#98 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
I don't think I know any reading system that thoroughly supports kerning, because it requires the characters. Or the slots for the characters, like in Garamond--that's 1300 characters, above and beyond the base sets. We had a guy, that could NOT let go of some kerned pair...I think it was the kerning pairs in....now, I can't recall the font. My brain keeps thinking Linux Libertine, but that's wrong. Whatever it was, I couldn't get him to understand that just because he saw it on his computer--where he'd downloaded and installed the font--didn't mean that it would appear on the reader. Slight bitch du jour about fonts and font embedding in source materials: Spoiler:
</rant> Hitch |
|
![]() |
![]() |
![]() |
#99 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
One reason I like Kobo is because you can sometimes increase the weight of a font so it looks decent/good on an eInk screen. This is only for the font on the Kobo though. It doesn't modify the font. Kindle's do the same thing with Cecelia. They modify it for heavier weight and the condensed version is made from the regular version. There is no such thing as Cecelia condensed. |
|
![]() |
![]() |
![]() |
#100 | |
Books are brain food.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,950
Karma: 4836916
Join Date: Nov 2010
Location: U.S.
Device: Paperwhite · Fire HD6/HD8/HD10 · Galaxy Tab A7
|
Quote:
Removing all fonts did not stop the auto-hyphenation. I did notice something interesting, though. In the past, when my books were viewed in the online KDP previewer, Voyage would always display the sans serif font (unless serif was specified in CSS). With all fonts removed, Voyage text shows as serif in the previewer now. I didn't expect that. I hope that's the way it is on the actual device (I don't have one to test). I've published two versions of Lotto since I last posted. I discovered something else that cured a long-time problem I've had with Kindlegen-created mobi files when I removed some HTML/CSS I've had some suspicion about. I had this for initial chapter paragraphs: Code:
<p class="firstpara"><span class="initialcap">"W</span>HAT WOULD I DO with fifty million dollars?"</p> MOBI CSS: span.initialcap {font-size:3em; font-weight:bold;} KF8 CSS: span.initialcap {font-size:1.5em; line-height:0; font-weight:normal;} ![]() EDIT: Never mind. The intermittent problems with Kindle Keyboard navigation is not solved. ![]() I suspect Kindlegen was choking on something in that code. It may have been the span itself or perhaps the line-height:0; in KF8 CSS (since line height cannot be less than 1.2em in Kindle books). Anyway, I'm very happy about that. That code was always troublesome anyway. I have no idea what else in my HTML/CSS could be causing auto-hyphenation in all four of my e-books republished since mid-February. I have two CSS files, called by media queries, which I've had for years. KF8 and mobi display as I would expect, so that seems to work fine. Perhaps it really is a new "feature" for recently published e-books on the Fire HD6 (and several other Fires), despite KDP's insistence to the contrary. ![]() Last edited by DreamWriter; 03-16-2015 at 05:04 PM. |
|
![]() |
![]() |
![]() |
#101 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Maybe someone else can see what's going on if you post the entire CSS.
|
![]() |
![]() |
![]() |
#102 | |
Books are brain food.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,950
Karma: 4836916
Join Date: Nov 2010
Location: U.S.
Device: Paperwhite · Fire HD6/HD8/HD10 · Galaxy Tab A7
|
Quote:
![]() Edit: I posted the CSS in my next post. Last edited by DreamWriter; 03-16-2015 at 05:32 PM. |
|
![]() |
![]() |
![]() |
#103 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
|
![]() |
![]() |
![]() |
#104 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
That shouldn't be. You ought to have one, reasonable-length stylesheet, with some fallback media queries for KF7. You oughtn't to have uber-lengthy stylesheets for a novel, really. Our average, includes amzn-mobi CSS sheet is <380 lines long. Hitch |
|
![]() |
![]() |
![]() |
#105 |
Books are brain food.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,950
Karma: 4836916
Join Date: Nov 2010
Location: U.S.
Device: Paperwhite · Fire HD6/HD8/HD10 · Galaxy Tab A7
|
I use media queries to call the two stylesheets. I've done it that way for several years (since KF8 became available) and never had any problems with it.
So, here's what it looks like in each HTML file: Code:
<head> <title>Chapter 1</title> <link href="../Styles/lotto-mobi.css" media="amzn-mobi" rel="stylesheet" type="text/css" /> <link href="../Styles/lotto-standard.css" media="not amzn-mobi" rel="stylesheet" type="text/css" /> </head> This CSS is for a version of Lotto: Blood Money that I just uploaded today at 2:00 p.m. Pacific time (45 minutes ago), so it may not be available for sale/borrow yet, and the Look Inside and downloadable sample may not be available yet either. If you see centered Chapter title and no initial cap in the first paragraph, then that's probably the version with CSS below. KF8 (lotto-standard.css): Code:
div.title {margin:0; text-indent:0; text-align:center; font-size:1.3em; font-weight:bold;} div.chapter {margin-top:2em; margin-bottom:0; margin-left:0; margin-right:0; padding-bottom:.3em; text-align:center; text-indent:0; font-size:1.7em; font-weight:bold;} div.title_bottom {margin-top:0; margin-bottom:1em; margin-left:0; margin-right:0; text-indent:0; text-align:center; font-size:1.3em; font-weight:bold;} div.copycenter {margin:0; text-indent:0; text-align:center; font-weight:normal;} div.dots {margin-top:.5em; margin-bottom:0; margin-left:0; margin-right:0; color:#909090; text-indent:0; text-align:center;} div.otherdots {margin-top:0; margin-bottom:.5em; margin-left:0; margin-right:0; color:#909090; text-indent:0; text-align:center;} div.article {page-break-before:always; margin:0 .3em 0 .3em; padding:1em;} p {margin:0; text-indent:1.3em;} p.firstpara {margin-top:1em; margin-bottom:0; margin-left:0; margin-right:0; text-indent:0;} p.top-para {margin-top:1em; margin-bottom:1em; margin-left:0; margin-right:0; text-indent:0;} p.para {margin-top:0; margin-bottom:1em; margin-left:0; margin-right:0; text-indent:0;} p.top-article {margin-top:1em; margin-bottom:1em; margin-left:0; margin-right:0; text-align:left; text-indent:0; font-size:1.1em;} p.article {margin-top:0; margin-bottom:1em; margin-left:0; margin-right:0; text-align:left; text-indent:0; font-size:.9em;} p.scenebreak {margin-top:.5em; margin-bottom:0; margin-left:0; margin-right:0; text-indent:0;} p.toc {margin:0; text-align:center; text-indent:0;} p.image {margin:0; text-align:center; text-indent:0;} span.bold {font-weight:bold;} span.italic {font-style:italic;} a:link {color:blue; text-decoration:none;} MOBI (lotto-mobi.css): Code:
div.title {margin:0; text-indent:0; text-align:center; font-size:1.5em; font-weight:bold;} div.chapter {margin-top:2em; margin-bottom:.5em; margin-left:0; margin-right:0; padding:0; text-align:center; text-indent:0; font-size:2.1em; font-weight:bold;} div.title_bottom {margin-top:0; margin-bottom:1em; margin-left:0; margin-right:0; text-indent:0; text-align:center; font-size:1.5em; font-weight:bold;} div.copycenter {margin:0; text-indent:0; text-align:center; font-weight:normal;} div.dots {margin:0; color:#909090; text-indent:0; text-align:center;} div.otherdots {margin-top:0; margin-bottom:1em; margin-left:0; margin-right:0; color:#909090; text-indent:0; text-align:center;} div.article {page-break-before:always; margin:0 2em 0 2em; padding:1em 1em 0 1em;} p {margin:0; text-align:justify; text-indent:1.3em;} p.firstpara {margin-top:1em; margin-bottom:0; margin-left:0; margin-right:0; text-align:justify; text-indent:0;} p.top-para {margin-top:1em; margin-bottom:.5em; margin-left:0; margin-right:0; text-align:justify; text-indent:0;} p.para {margin-top:0; margin-bottom:.5em; margin-left:0; margin-right:0; text-align:justify; text-indent:0;} p.top-article {margin-top:1em; margin-bottom:.5em; margin-left:0; margin-right:0; text-align:left; text-indent:0; font-size:1.1em;} p.article {margin-top:0; margin-bottom:.5em; margin-left:0; margin-right:0; text-align:left; text-indent:0; font-size:.9em;} p.scenebreak {margin:0; text-align:justify; text-indent:0;} p.toc {margin:0; text-align:center; text-indent:0;} p.image {margin:0; text-align:center; text-indent:0;} span.bold {font-weight:bold;} span.italic {font-style:italic;} a:link {color:blue; text-decoration:none;} Last edited by DreamWriter; 03-16-2015 at 08:04 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Issues Changing PDF to MOBI via Calibre & Transferring to Kindle Fire See latest pos | Warren_Harding | Devices | 11 | 12-20-2013 11:58 AM |
Issues embedding licensed fonts & Adobe's font permissions | FunkeXMix | ePub | 6 | 01-08-2013 11:36 PM |
Help with font and justification problems from Calibre to Kindle | clarient | Conversion | 1 | 06-29-2011 12:17 AM |
Text justification issues | Emilie | Kindle Formats | 5 | 02-22-2011 01:14 PM |
PRS-650 Can the 650 change font and justification? | AlexBell | Sony Reader | 21 | 09-17-2010 04:58 AM |