View Single Post
Old 03-14-2015, 04:38 PM   #88
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,144
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DreamWriter View Post
Code:
body
  {font-family:serif;
  font-weight:normal;}

div.title
  {margin:0;
  text-indent:0;
  text-align:center;
  font-family:"Helvetica", sans-serif;
  font-size:1.5em;}

div.chapter
  {margin-top:1em;
  margin-bottom:0;
  margin-left:0;
  margin-right:0;
  padding-bottom:.3em;
  text-align:center;
  text-indent:0;
  font-family:"Helvetica", sans-serif;
  font-size:1.5em;}

p
  {margin:0;
  text-indent:5%;}
I have an issue here with the text indent being 5%. That's 5% of the screen. So on different devices, you get different indents. On a Kindle DX, or the 10" Kindle Fire, you get rather overly large indents. It's bets to specify the indent in em. I use 1.2em and that works well and does not change based on the screen size.


My other three books currently have embedded fonts for chapters/titles and no called fonts specified at all in either body or p (paragraph) CSS. All four e-books have displayed auto-hyphenation on my Fire HD6 in every upload since early/mid-February. Before that time, they didn't.

* * *

My main goal right now is to figure out why the SAME Lotto: Blood Money file uploaded on different dates, 1-30-15 and 3-9-15, looks so different after publication on Fire HD6. The one uploaded on 3-9-15 (right screenshot, below) has auto-hyphenation and the Publisher Font menu option is gone on Fire HD6. Since these two problems are happening with ALL of my e-books in uploads since early/mid-February, I thought the two issues may be related somehow.

Quote:
You can see the differences in those after-publication screenshots: the earlier version has no auto-hyphenation; the later one does. Also, the Publisher Font menu option WAS in the earlier version, but not the later upload. The text is darker in the 3-9-15 published book, too.

Both uploaded files had exactly the same CSS and HTML, with an embedded font for chapters/titles and no font specified for main text (body or paragraphs) in KF8 CSS. The Kindlegen-created mobi looks exactly like the 1-30-15 version when sideloaded to my Fire--NO auto-hyphenation or the other weirdness I've observed on Fire HD6 in all my published e-books uploaded after early/mid-February.
Personally, I like the 03/09/2015 version better. Even if the font weight was the same, I prefer the hyphens. Since getting the Kobo Aura H2O with has hyphenation support, I rarely see whide gaps in lines and the H2O does not go crazy hyphenating. The worst Reader is the B&B nook STR and later Readers as they really do go crazy.

Usually there is some way to tell the rendering program not to hyphenate. This is a bunch of different commands you can use to try to turn off hyphenation if that's what you want.

Code:
body {
-epub-hyphens: none;
adobe-hyphenate: none;
-webkit-hyphens: none;
-moz-hyphens: none;
hyphens: none;
}
I would not bother with the first two as those are for ADE. But give the last three a go and see what happens.
JSWolf is online now   Reply With Quote