09-20-2014, 07:59 AM | #256 | |
Connoisseur
Posts: 77
Karma: 101837
Join Date: Oct 2012
Device: iPad Air, Kobo Forma, Kobo Aura HD (RIP)
|
Quote:
body { margin-right: 30px; } I tried this on few epubs with 30px and the text fits neatly at the centre of the screen of Aura HD. You might have to tweak that number for your device. I also noted that you'll have to remove any "margin-left" line from the body tag of the CSS. |
|
09-20-2014, 09:55 AM | #257 |
Member
Posts: 19
Karma: 10
Join Date: Dec 2012
Device: Kobo mini
|
|
Advert | |
|
09-20-2014, 10:15 AM | #258 | |
Grand Sorcerer
Posts: 7,174
Karma: 63764653
Join Date: Feb 2009
Device: Kobo Glo HD
|
Quote:
|
|
09-20-2014, 10:23 AM | #259 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
|
09-20-2014, 10:41 AM | #260 | |
Fanatic
Posts: 598
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
|
Quote:
Post: Margins fine tuning On my Glo this section of the patch does exactly the opposite. |
|
Advert | |
|
09-20-2014, 11:28 AM | #261 |
Connoisseur
Posts: 77
Karma: 101837
Join Date: Oct 2012
Device: iPad Air, Kobo Forma, Kobo Aura HD (RIP)
|
|
09-20-2014, 11:33 AM | #262 | |
Connoisseur
Posts: 77
Karma: 101837
Join Date: Oct 2012
Device: iPad Air, Kobo Forma, Kobo Aura HD (RIP)
|
Quote:
|
|
09-20-2014, 12:17 PM | #263 | |
Gourmet
Posts: 1
Karma: 10
Join Date: Jun 2013
Device: Kobo Aura HD
|
Quote:
I'm very annoyed with this behavior I must say. Did you or anybody here found a way to revert to the previous one ? Last edited by alicroche; 09-20-2014 at 12:26 PM. |
|
09-20-2014, 12:43 PM | #264 |
Grand Sorcerer
Posts: 7,174
Karma: 63764653
Join Date: Feb 2009
Device: Kobo Glo HD
|
|
09-20-2014, 01:07 PM | #265 |
Connoisseur
Posts: 77
Karma: 101837
Join Date: Oct 2012
Device: iPad Air, Kobo Forma, Kobo Aura HD (RIP)
|
Right click on the book and click on edit in the menu popup which will present you with the epub editor. Make the changes to the css, save and exit. That is all there is to it.
|
09-20-2014, 02:35 PM | #266 | |
Fanatic
Posts: 598
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
|
Quote:
I use the body tag all the time to define (force) the default values of many selectors, including margin and padding (both set to 0). I tried it once more: These values (25) shifts the screen (viewport) to the right: Code:
replace_int = 957626, 0, 25 # Top margin replace_int = 95762A, 0, 01 </Patch> Code:
# Left margin replace_int = 957626, 0, 01 # Top margin replace_int = 95762A, 0, 01 </Patch> Code:
# Initial replaces replace_bytes = 957626, 19 46, 00 21 replace_bytes = 95762A, 1A 46, 00 22 |
|
09-20-2014, 02:35 PM | #267 | |
Grand Sorcerer
Posts: 7,174
Karma: 63764653
Join Date: Feb 2009
Device: Kobo Glo HD
|
Quote:
I currently have ~50 books on the reader, so it would be a little tedious. And than if it gets fixed, I'll need to go back and take the change out? |
|
09-20-2014, 03:20 PM | #268 | ||
Fanatic
Posts: 598
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
|
Quote:
Quote:
This will definitely be case when a character whit a negative right sidebearing (RSB) is the last charcter (position) on a line. Two examples: (1) a character with a negative RSB is the lowercase character f. (2) the lowercase character j has a negative LSB, that character will be cut off if a line starts with this character. There are a few trick to tackle this. 1. Don't define margins in a body tag if they are not set or equal to zero (0). 2. Use padding selector instead. Consider this selector as a soft margin. Chacters witha negative left or right side bearing will be displayed in 'full' instead of being cut off. body {margin:15px;padding:0;} (this will cut off characters) body {margin:0;padding:15px} (this creates a 'soft margin' of 15px and prevents that some characters are cut off) Or use something like Code:
body{margin:0;padding:0;} p,div {margin:0;padding-left:15px;padding-right:15px} Or define a 'wrapper' for the page margins: Code:
body{margin:0;padding:0;} p,div{margin:0;padding:0;} .pagemargins {padding-top:20px;padding-left:15px;padding-right:15px} Code:
<body> <div class="pagemargins"> ... original code/markup here </div> </body> You have the native viewport of the device, everything outside this area will not be printed or visible. Within the viewport there is a window or screen in which the reading app (epub, kepub engine) prints text and images. This window or screen can be shifted outside the actual viewport of the device, and characters are only partically displayed (cut off) or not at all. That is the problem were discussing here. Is there a way to reposition this window or screen to the correct position to prevent that characters are not visible or cut off. This window or screen can be reduced in size by using various selectors, @page, margin, padding (and maybe others) to set the actual page size. There is a distinction between hard and soft margins. Hard margins cut off characters that have either negative left or right sidebearings. To prevent this from happening use 'soft margins' instead of 'hard margins'. Especially and/or limited to, left and right margins. Last edited by Anak; 09-21-2014 at 05:40 AM. Reason: nutshell |
||
09-20-2014, 04:33 PM | #269 | |
Browser
Posts: 745
Karma: 578294
Join Date: Apr 2010
Location: Australia
Device: Kobo Touch, Kobo Aura HD
|
Quote:
I'm sure there are people who like to use the features. But I'm also sure there are others who, as a matter of priority, would rather have the actual reader functions stabilised and expanded. To characterise it as a personal "complaint" is a bit unfair. At least you didn't call me a "hater", I suppose. |
|
09-20-2014, 11:32 PM | #270 |
Connoisseur
Posts: 66
Karma: 10
Join Date: May 2014
Location: Iowa
Device: Kobo Glo HD, Kobo Forma, Kindle Paperwhite 3
|
Hello all. I think this is my first time posting here but I read these forums all the time and have gotten lots of great tips and advice here. I have a Kobo Touch from 2011, and I love it. But the latest firmware seems to have played havoc with the ability to change the font size in certain books. Even if I push the slider all the way to the right, the font size stays at the same uncomfortably (for me) small size.
It doesn't happen with all books, and it's possible it's only happening with books that I downloaded via Overdrive from the library and then loaded using ADE. I've read through this whole thread to see if anyone else has experienced this issue, but it doesn't seem to have been raised yet. Does anyone have any suggestions how to regain the size-changing ability? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Firmware 3.3.0 released! | Lucas Malor | Kobo Reader | 23 | 04-29-2014 10:12 PM |
Firmware 2.10.0 Released | buffaloseven | Kobo Reader | 338 | 11-20-2013 03:20 PM |
firmware 9.17 released | kyriu | Kobo Reader | 3 | 03-19-2012 07:43 AM |
New Firmware Released | Aerich27 | Bookeen | 122 | 05-19-2008 03:58 PM |
iLiad Firmware 2.10.2 released | Adam B. | iRex | 7 | 09-01-2007 06:18 PM |