View Single Post
Old 05-02-2010, 10:12 PM   #12
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by John F View Post
Do any of the mods add functionality to reading (change margins, line spacing, full jsutification for epub, ...)?
You can't change the justification that is built into the ADE reader on the device. What it does let you do is set up multiple css files for ePub. I have 7 user selectable css files that use 5 different fonts. Below is the css setup I use most frequently. You can also disable the custom css to use the fonts that might be built into books you purchased.

The two items (beside the font change) that I like the best are the auto indent of paragraphs and limiting the max-width of an image to 100% of the screen width, this ensures the image doesn't run off of the page.

Spoiler:

@font-face {
font-family: "Futura";
font-weight: normal;
font-style: normal;
src: url(res:///Data/fonts/Futura.ttf);
}

@font-face {
font-family: "Futura";
font-weight: bold;
font-style: normal;
src: url(res:///Data/fonts/Futura-Bold.ttf);
}

@font-face {
font-family: "Futura";
font-weight: normal;
font-style: italic;
src: url(res:///Data/fonts/Futura-Italic.ttf);
}



/* Standard elements */

html, body {
font-family: "Futura", sans-serif;
widows: 0;
orphans: 0;
margin: 0;
padding: 0;
}

blockquote.message { font-family: monospace; }
blockquote.code { font-family: monospace; }
code { font-family: monospace; }


img {max-width:100%;}


h1, h2, h3, h4{ margin: 0; padding: 0; text-indent: 0;}

p {text-indent:1.1em;}
div {text-indent:1.1em;}

/*
To increase or decrease ePub font size Remove rem slashes
surrounding the paragraph and division statements below.
Then adjust number higher or lower. If you set the font size
in the Sony 505 will not be able to scale the font. It will
be stuck at the size you set it.
*/


/*
p {font-size:50px}

div {font-size:50px}

*/


/*
To increase ePub line height Remove rem slashes
surrounding the paragraph and division statements below.
Then adjust percentage higher, try 110% to start.
*/



/*

p {
line-height: 110%
}

div {
line-height: 110%
}

*/


There are also instructions on how to change the internal font used for LRF to the font of your choice.

Last edited by DoctorOhh; 05-02-2010 at 10:17 PM.
DoctorOhh is offline   Reply With Quote