View Single Post
Old 01-18-2017, 06:08 AM   #4
masterz87
Connoisseur
masterz87 ought to be getting tired of karma fortunes by now.masterz87 ought to be getting tired of karma fortunes by now.masterz87 ought to be getting tired of karma fortunes by now.masterz87 ought to be getting tired of karma fortunes by now.masterz87 ought to be getting tired of karma fortunes by now.masterz87 ought to be getting tired of karma fortunes by now.masterz87 ought to be getting tired of karma fortunes by now.masterz87 ought to be getting tired of karma fortunes by now.masterz87 ought to be getting tired of karma fortunes by now.masterz87 ought to be getting tired of karma fortunes by now.masterz87 ought to be getting tired of karma fortunes by now.
 
Posts: 56
Karma: 2072578
Join Date: Jan 2017
Device: Kobo Aura H20
Quote:
Originally Posted by davidfor View Post
Have you checked it there are any other margins? Such as on an @page.

And the gap is between the top of the bottom bar and the text. So tap the screen to bring up the bottom bar to show the line. The text can go down to just above the line.

The widows and orphans doesn't affect the amount of space used unless a paragraph goes over the end of the screen. And, you should set them to "1". That is the minimum in the specs and


The firmware definitely respects the line-height. And it can be in % or em. I clean-up a book the other day that used % for everything including line-height at something like 10%. That gave some very interesting effects. But, I usually remove line-height for normal text and only leave if for headings and other places where the spacing might be important.

Have you checked there are no errors in the CSS? If you are using the epub renderer, and there are errors, the complete stylesheet will be ignored.
It renders fine it seems to me, it has the page size etc bold, italicized difference sizes ec so it seems to be doing just fine, and about the "1" I looekd up the cs and the standard says 2 is the default value. I couldn't find an epub standards page that said differently.

the only @page I have is this one and since it _can_ reduce margins by me changing the settings.

@page {
margin : 20px 30px 20px 30px;
}

the line-height isn't work for me even though you say it should. It's a standard epub and I could've sworn my old nst the line spacing was able to be changed without any major issues.

I am going to dig it out and put the book on there as is, and see if it has a similar issue with line-height aka line spacing. I like to have it set at ~1.5 lines as it makes it easier to read.

For the other issue atm I have enabled full screen mode until I can find a real fix.

OK so line-spacing isn't working on my nst either. I'll post the whole css I guess as it sems to be valid to me.

Code:
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, p, pre, code, blockquote {
	margin:0;
	padding:0;
	border-width:0;
}
td, th {
	border-style:solid;
	border-width:1px;
}
table {
	border-collapse:collapse;
}
li {
	display:block;
}
body {
	-epub-hyphens:auto;
	-webkit-hyphens:auto;
}
@page {
	margin : 20px 30px 20px 30px;
}

h1.header {
	-epub-ruby-position:over;
	color:#212120;
	font-size:1.25em;
	font-style:normal;
	font-variant:normal;
	font-weight:bold;
	line-height:1.267;
	margin-bottom:0px;
	margin-left:0px;
	margin-right:0px;
	text-align:left;
	text-decoration:none;
	text-indent:0px;
}

h2 {
	font-size: 1.1em;
	color: gray;
}

h2.subhead {
	-epub-ruby-position:over;
	color:#858586;
	font-size:1.167em;
	font-style:normal;
	font-variant:normal;
	font-weight:bold;
	line-height:0.929;
	margin-bottom:0px;
	margin-left:0px;
	margin-right:0px;
	text-align:left;
	text-decoration:none;
	text-indent:0px;
}

p.base {
	-epub-hyphens:none;
	-epub-ruby-position:over;
	-webkit-hyphens:none;
	color:#212120;
	font-size:0.917em;
	font-style:normal;
	font-variant:normal;
	font-weight:normal;
	line-height:1.182;
	margin-bottom:0px;
	margin-left:0px;
	margin-right:0px;
	text-align:left;
	text-decoration:none;
	text-indent:21px;
}
p.align-r {
	-epub-hyphens:none;
	-epub-ruby-position:over;
	-webkit-hyphens:none;
	color:#212120;
	font-size:0.917em;
	font-style:italic;
	font-variant:normal;
	font-weight:normal;
	line-height:1.182;
	margin-bottom:0px;
	margin-left:0px;
	margin-right:0px;
	text-align:right;
	text-decoration:none;
	text-indent:21px;
}
p.first {
	-epub-hyphens:none;
	-epub-ruby-position:over;
	-webkit-hyphens:none;
	color:#212120;
	font-size:0.917em;
	font-style:normal;
	font-variant:normal;
	font-weight:normal;
	line-height:1.182;
	margin-bottom:0px;
	margin-left:0px;
	margin-right:0px;
	text-align:left;
	text-decoration:none;
	text-indent:0px;
}
p.whitespace {
	-epub-hyphens:none;
	-epub-ruby-position:over;
	-webkit-hyphens:none;
	color:#ffffff;
	font-size:0.917em;
	font-style:normal;
	font-variant:normal;
	font-weight:normal;
	line-height:1.182;
	margin-bottom:0px;
	margin-left:0px;
	margin-right:0px;
	text-align:left;
	text-decoration:none;
	text-indent:21px;
}
p.copyright {
	-epub-hyphens:none;
	-epub-ruby-position:over;
	-webkit-hyphens:none;
	color:#212120;
	font-size:0.5em;
	font-style:normal;
	font-variant:normal;
	font-weight:normal;
	line-height:1.25;
	margin-bottom:0px;
	margin-left:0px;
	margin-right:0px;
	text-align:left;
	text-decoration:none;
	text-indent:0px;
}

body{
  orphans:1;
  widows:1;
}
NST shows the same issues. I am going to have to check again but does the aura h20 have the "fast page turn" mode? I know the NST had it and for some reason when I redo text the thing will flash the cover image and then it'll show the text whereas the NST will just go white then draw teh new text. Also it's bottom bar is way better than kobo's its bottom bar only has ~1-2 lines of text between it and the text.

Last edited by masterz87; 01-18-2017 at 07:11 AM.
masterz87 is offline   Reply With Quote