Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book General > General Discussions

Notices

Reply
 
Thread Tools Search this Thread
Old 10-20-2015, 11:39 AM   #46
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: 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:
Originally Posted by HarryT View Post
"1em" is useful, although it is, as you rightly say, the default, because it allows the font size to be easily changed. If you set "1em" as the font size for something, and you later decide that you'd like it to be a little larger, it's easier to change "1em" to "1.2em" than to have to insert a new line into the CSS.
Actually, it's not easier because you first have to insert the 1em and then change it to 1.2em when all you have to do is insert the 1.2em the first time instead of inserting 1em and then having to change it. Doing it wrong the first time just because you might want to change it later is bad practice.
JSWolf is offline   Reply With Quote
Old 10-20-2015, 11:43 AM   #47
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: 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:
Originally Posted by harriska2 View Post
JSWolf, do you know of a primer and tool for fixing these issues?
What I do with ePub is load it into the Calibre eBook editor and use the option to remove unused CSS classes. You'd be amazed at the amount of unused CSS entries there can be. Then it's a lot easier to look at the XML/CSS and clean up the mess (which I do by hand). When I find a find some code in the CSS I want to remove, I just do it with a search/replace because usually if it's not wanted in one class, chances are it's not wanted in all the classes it's in. If I make a mistake, I will still have the unmodified XML/CSS to refer back to.
JSWolf is offline   Reply With Quote
Old 10-20-2015, 12:15 PM   #48
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by JSWolf View Post
Actually, it's not easier because you first have to insert the 1em and then change it to 1.2em when all you have to do is insert the 1.2em the first time instead of inserting 1em and then having to change it. Doing it wrong the first time just because you might want to change it later is bad practice.
I personally prefer to explicitly specify the size of all text elements in the book, even if the size is 1 em. This certainly isn't "wrong".
HarryT is offline   Reply With Quote
Old 10-20-2015, 12:41 PM   #49
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: 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:
Originally Posted by HarryT View Post
I personally prefer to explicitly specify the size of all text elements in the book, even if the size is 1 em. This certainly isn't "wrong".
There are people to whom this won't matter if the font size is specified or not. But there are people to whom it will matter. And for those people, it should not be specified when the default should be used. That's the purpose of a default. So really, specifying when it's more appropriate for the default to be used is poor coding and whoever does this should never be let in front of eBook code (IMHO).
JSWolf is offline   Reply With Quote
Old 10-20-2015, 02:45 PM   #50
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,351
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Shouldn't the question be: Does specifying the font size prevent the app/device from changing it?? If so, then it should not be defined in the CSS. e.g. p{font-size:1em}.

However, the way I understand it, setting font-size in ems only means that element's font is relative to the selected display font size. e.g. font-size:1.2em in a header would display 20% larger than the display's selected font size and a 1em for the basic paragraph would be the selected font size. In that case specifying p{font-size:1em} is not wrong, or even detrimental, it is simply being overly specific.

I would prefer someone being overly specific just to be on the safe side.

What I hate to see is when publishers define the basic font size as too small... p {font-size: .8em}

Last edited by Turtle91; 10-20-2015 at 03:19 PM.
Turtle91 is offline   Reply With Quote
Old 10-20-2015, 03:37 PM   #51
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: 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
If the default is used then you won't have to worry about someone getting it wrong.
JSWolf is offline   Reply With Quote
Old 10-20-2015, 04:10 PM   #52
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by JSWolf View Post
If the default is used then you won't have to worry about someone getting it wrong.
You will if the device default is wrong, which on RMSDK it is.

If you don't force it, those block numbers smear the text on the right, making both unreadable.
If I use
body{
display: block;
font-size: 1.2em;
line-height: 1.2;
page-break-before: always;
margin: 0 16pt 0 2pt;
padding-right: 0;
padding-left: 0;}

With a level 3 zoom (1 being default), those numbers don't smear until the fourth digit
theducks is offline   Reply With Quote
Old 10-20-2015, 04:42 PM   #53
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,351
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by JSWolf View Post
So really, specifying when it's more appropriate for the default to be used is poor coding and whoever does this should never be let in front of eBook code (IMHO).
I'm one to always push for vendors to stick to the spec so my books will look the same no matter on what device they are read. But, as we all know, the reality is that they don't. Some publishers adapt their coding so that it works on more devices... that means they will have extra stuff in their CSS than I would in mine since I only code for my reading app (Marvin) which sticks to the spec in almost all cases. I certainly wouldn't call them wrong, or a bad coder, for including that coding...
Turtle91 is offline   Reply With Quote
Old 10-20-2015, 05:15 PM   #54
Cinisajoy
Just a Yellow Smiley.
Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.
 
Cinisajoy's Avatar
 
Posts: 19,161
Karma: 83862859
Join Date: Jul 2015
Location: Texas
Device: K4, K5, fire, kobo, galaxy
I just picked up a book. I have a new complaint.
Double spaces between every paragraph. That is making it almost impossible to read.
Cinisajoy is offline   Reply With Quote
Old 10-20-2015, 06:08 PM   #55
Purple Lady
Grand Sorcerer
Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.
 
Purple Lady's Avatar
 
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
Quote:
Originally Posted by Turtle91 View Post
I'm one to always push for vendors to stick to the spec so my books will look the same no matter on what device they are read. But, as we all know, the reality is that they don't. Some publishers adapt their coding so that it works on more devices... that means they will have extra stuff in their CSS than I would in mine since I only code for my reading app (Marvin) which sticks to the spec in almost all cases. I certainly wouldn't call them wrong, or a bad coder, for including that coding...
Some apps do this too. Scribd used huge margins if you were on a seven inch or larger device. On a six inch device the margins were still a little too large for me, but were smaller. I couldn't fix this even if I restored the version with data from my phone to my tablet.
Purple Lady is offline   Reply With Quote
Old 10-20-2015, 06:59 PM   #56
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: 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:
Originally Posted by theducks View Post
You will if the device default is wrong, which on RMSDK it is.
RMDSK is not wrong, the default font size is 1em. You may want a different font size, but the default is not wrong.

Quote:
If you don't force it, those block numbers smear the text on the right, making both unreadable.
If I use
body{
display: block;
font-size: 1.2em;
line-height: 1.2;
page-break-before: always;
margin: 0 16pt 0 2pt;
padding-right: 0;
padding-left: 0;}

With a level 3 zoom (1 being default), those numbers don't smear until the fourth digit
If you use an old version RMDSK then yes, you will get the numbers on the right side. But that would be a 1.7.2 version ADE and not a 2.0+ version ADE. In some versions RMDSK, you can turn on or off the right margin page numbers. You can on Kobo Readers. Publishers need to stop coding for the right margin page number. It just causes a large margin. And stop using @ page as that can cause such a page number to move away from the bezel more towards the left side of the screen.
JSWolf is offline   Reply With Quote
Old 10-20-2015, 09:08 PM   #57
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by JSWolf View Post
RMDSK is not wrong, the default font size is 1em. You may want a different font size, but the default is not wrong.



If you use an old version RMDSK then yes, you will get the numbers on the right side. But that would be a 1.7.2 version ADE and not a 2.0+ version ADE. In some versions RMDSK, you can turn on or off the right margin page numbers. You can on Kobo Readers. Publishers need to stop coding for the right margin page number. It just causes a large margin. And stop using @ page as that can cause such a page number to move away from the bezel more towards the left side of the screen.
Really? Something that distorts the text is just wrong.
It takes a combination of those margins and that base font to work around this BUG.

BTW Don't tell me all I have to do is Upgrade. There are NO UPGRADES. ASTAK is out of the reader game
theducks is offline   Reply With Quote
Old 10-21-2015, 06:08 AM   #58
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: 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:
Originally Posted by theducks View Post
Really? Something that distorts the text is just wrong.
It takes a combination of those margins and that base font to work around this BUG.

BTW Don't tell me all I have to do is Upgrade. There are NO UPGRADES. ASTAK is out of the reader game
The Sony Readers prior to the x50 line also have this page number. I just dealt with it. It wasn't difficult for me to read the text that overlapped the page number on the 505.

But yes, I do see your point. The older devices using a too old RMDSK are an issue.
JSWolf is offline   Reply With Quote
Old 10-26-2015, 08:14 AM   #59
crankypants
Hmm.
crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.crankypants ought to be getting tired of karma fortunes by now.
 
Posts: 124
Karma: 2016606
Join Date: Oct 2015
Device: Android 4.2 Google Play Reader
> Self-published books are usually okay but almost no big publisher understands one crucial thing: we are using ebook readers, you don't need to set this things!

Hi George, I'm with you. I'm a computer person and I work in the print industry. We provide print and data management services for other publishing companies. The people we work with are the marketing department. I typeset pages, and they provide the data. The marketing people are very nice but are VERY short on computer knowledge, but, they should not have to learn computers and how to typeset, because that's MY job.

I'm competent in designing a different system to meet the needs of any publisher, and I have the experience to back it up. We need the data in certain formats in order to save them money. However, some companies refuse to follow our directions, so we have to manually fix the data they send us, which increases their cost. Then they wonder why our charges are so expensive.

But the state of the industry is, many publishers are tight on money, or at least their budgets are tight in order to meet goals centered around stock value. So their leaders are simply saying "Convert this to an EPUB in the cheapest way possible." And that's what the non-computer marketing department does. You'd be surprised how many companies that distribute print materials have NO computer people to help them publish, they simply have minimal IT guys who are so overworked and stressed the IT guy cannot possibly help them with converting to EPUB.

Your complaints are valid, but, unfortunately, until leadership of the print companies understands the importance of specialty employees (or services like mine), they will continue to issue crappy EPUBs.

The best suggestion I have: make screen shots of crappy ebooks, post them on the internet, and send a copy of the link to the CEO of that company, or the director of the publishing department. Some people just won't listen until you effect their reputation or bottom line (stock price).

Last edited by crankypants; 10-30-2015 at 05:30 AM.
crankypants is offline   Reply With Quote
Old 10-26-2015, 08:12 PM   #60
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,827
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
Quote:
Originally Posted by JSWolf View Post
What I do with ePub is load it into the Calibre eBook editor and use the option to remove unused CSS classes.
Oh wow, I love this! Didn't realize Calibre could strip unused CSS.

Is there a difference doing it via "Edit Book" rather than "Polish books" as far as results go? Or is it the same function/module?
odamizu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen background color 2014 Kindle basic vs 2013 basic bounce Amazon Kindle 1 01-08-2015 03:50 PM
Cleaning ePubs: automatically, fast and with as many generic rules as possible ibu ePub 118 04-04-2014 10:31 AM
REALLY basic, basic, basic questions MrB Amazon Kindle 3 10-22-2012 06:43 AM
trouble when converting many epubs to epubs comet Conversion 13 03-21-2012 01:57 AM
Touch Problem with all epubs, my epubs, or my kobo? (line clipping) plague006 Kobo Reader 14 12-02-2011 11:32 PM


All times are GMT -4. The time now is 04:44 PM.


MobileRead.com is a privately owned, operated and funded community.