View Single Post
Old 06-15-2020, 03:05 PM   #12
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,140
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 hobnail View Post
I don't know anything, which is why I get ides from sites like this:

https://friendsofepub.github.io/eBookTricks/

Somewhere on there he recommends for the body tag font-size:100%.
Some of those tricks I would have nothing to do with.

Add line-height to body <-- ignore this or you ruin the line height slider for Kobo.
Don’t define a line-height value which is less than 1.2 <-- KF8 will ignore any line height less then 1.2. It's best to not specify a line height for Kindle eBooks.
Disable hyphens <--- ignore that as hyphens should be left on.
Declare text-align for elements which should be left-aligned <-- use left align sparingly or not at all
Prevent sub- and superscript from affecting line-height <-- You aren't specifying line height so ignore this
Use real small capitals <-- ignore this and specify a font size for small caps as most versions of RMSDK (ADE) in use do not work with a font variant to specify small caps
Use semantic asterisms and make them reflowable <-- ignore this as background images can work rather poorly with eInk screens
Fake asterisms (context change) <-- ignore this because you ignored the one above that goes with it
Force the color of links to be text’s <-- ignore this as it's not useful on eInk screens
Make HTML5 tags behave as expected in legacy RMSDK <-- ignore this as you don't need a block display
Prevent horizontal margins to reflow with font-size <-- ignore this as % for the margins is a very bad idea and the size of the margins will change based on the screen size and possibly resolution
Create an automated numbering system <-- ignore this as it won't work in enough cases
Build a super simple responsive grid <-- ignore this as it won't work in enough cases
Give text wraps a modern twist <-- ignore this as it won't work with ePub 2
Force images to keep their aspect ratio <-- ignore this as it won't work with ePub 2 and I've never seen images be skewed to need to fix the aspect
Use text color as a variable <-- forget used colored text as it doesn't work well with eInk screens

So after looking at all the tips/tricks, most of them should be ignored. They could end up breaking the eBook depending on the software used to read the eBook.
JSWolf is offline   Reply With Quote