|  10-26-2014, 10:12 AM | #46 | 
| Member  Posts: 12 Karma: 10 Join Date: Nov 2012 Device: kobo GLO | 
			
			What value must modify for change dimensions of number of page character?
		 | 
|   |   | 
|  10-26-2014, 10:19 AM | #47 | |
| Bookworm            Posts: 975 Karma: 768585 Join Date: Aug 2010 Location: Netherlands Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo | Quote: 
 replace_string = DBDC58, `font-size: 16px;`, `font-size: 28px;` For my Glo I use above one to made the txt bigger (the value 28) For my Aura HD i use: replace_string = DBDC58, `font-size: 16px;`, `font-size: 35px;` | |
|   |   | 
|  10-26-2014, 10:36 AM | #48 | 
| my parent's oops...            Posts: 493 Karma: 1477572 Join Date: Feb 2009 Device: Vx->Handera->Clie-> Axim->505->650->KPW/Aura ->L2->iOS/CBW | 
			
			Seeing the threads about changing the "Page xx of yy" to "xx/yy" or "xx / yy", I was wondering if it is possible to change the footer to show "xx/yy     zz%"? - then I could have both the page number and percent read.
		 | 
|   |   | 
|  10-26-2014, 11:06 AM | #49 | |
| Bookworm            Posts: 975 Karma: 768585 Join Date: Aug 2010 Location: Netherlands Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo | Quote: 
 Sure it can be done, but imho not by a simple patch. | |
|   |   | 
|  10-26-2014, 11:33 AM | #50 | |
| my parent's oops...            Posts: 493 Karma: 1477572 Join Date: Feb 2009 Device: Vx->Handera->Clie-> Axim->505->650->KPW/Aura ->L2->iOS/CBW | Quote: 
 On my H2O, I am using the following values which give me more lines of text on the bottom compared to your screenshot: Code: replace_string = D54355, `min-height: 70px;`, `min-height: 50px;` replace_string = D54368, `max-height: 70px;`, `max-height: 50px;` replace_string = D54385, `footerMargin: 40;`, `footerMargin: 20;` replace_string = D5439F, `font-size: 16px;`, `font-size: 26px;` replace_string = D543B1, `padding-bottom: 0px;`, `padding-bottom: 8px;` replace_string = D543C7, `margin-top: 0px;`, `margin-top: 0px;` I tried searching the various patcher threads, but couldn't find a really good detailed explanation describing what each variable is. I am guessing that: -max & min height sets the vertical dimension of the footer text box -font-size (obvious) -margin-top sets the distance from the footer text box top and the bottom of the body text box? My uncertainty comes when I try and figure out the differences between footerMargin and padding-bottom. What dimension is the padding referring to? The distance between the bottom of the screen and the footer text box? How would this compare to the footerMargin? | |
|   |   | 
|  10-26-2014, 11:54 AM | #51 | 
| Bookworm            Posts: 975 Karma: 768585 Join Date: Aug 2010 Location: Netherlands Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo | 
			
			For as far as I know, there are two values in a string, the current one, and the replacing one. So yours: replace_string = D54385, `footerMargin: 40;`, `footerMargin: 20;` Can't be into mine as the default already is 105.. I could lower the replace a bit or keep it equal but I don't know what happens if I lower it into the default value. The #replace_string = DBDC80, `margin-top: 0px;`, `margin-top:13px;` does, if I am informed right by GeoffR shift the xx of yy a bit higher so it isn't equal to the bezel... I can play a bit with this values, but this patch is "pre-made" for me, so I don't want to much changes because like you, I don't know exactly where the values stand for. | 
|   |   | 
|  10-26-2014, 12:02 PM | #52 | 
| frumious Bandersnatch            Posts: 7,570 Karma: 20150435 Join Date: Jan 2008 Location: Spaniard in Sweden Device: Cybook Orizon, Kobo Aura | 
			
			I'm using these values for my footer style. I don't have a screenshot, but it looks pretty tight (when the text actually reaches the bottom of the available area): Code: replace_string = DBDC0D, `min-height: 70px;`, `min-height: 30px;` replace_string = DBDC20, `max-height: 70px;`, `max-height: 30px;` replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 15;` replace_string = DBDC58, `font-size: 16px;`, `font-size: 20px;` replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom: 2px;` replace_string = DBDC80, `margin-top: 0px;`, `margin-top: 0px;` replace_string = DBDC92, `/*font-family:none;*/`, `font-family: Georgia; | 
|   |   | 
|  10-26-2014, 01:42 PM | #53 | |
| my parent's oops...            Posts: 493 Karma: 1477572 Join Date: Feb 2009 Device: Vx->Handera->Clie-> Axim->505->650->KPW/Aura ->L2->iOS/CBW | Quote: 
 The info about margin-top makes it even more confusing. If margin-top describes distance from bezel to footer xx of yy, then what does the padding-bottom and footerMargin variables describe? It's too bad there isn't a diagram showing all the variables...if I ever figure out each variable I might put a diagram up for the footer customization. | |
|   |   | 
|  10-26-2014, 02:56 PM | #54 | |
| Bookworm            Posts: 975 Karma: 768585 Join Date: Aug 2010 Location: Netherlands Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo | Quote: 
   | |
|   |   | 
|  10-26-2014, 09:43 PM | #55 | 
| Wizard            Posts: 3,821 Karma: 19162882 Join Date: Nov 2012 Location: Te Riu-a-Māui Device: Kobo Glo | 
			
			The parts of the footer patch CSS are: - min-height/max-height: sets the height of the footer - font-size: height of the text within the footer (vertical position of text within footer depends on font-family) - margin-top: minimum space between the top of the footer and the book text - padding-bottom: space between the bezel and the bottom of the footer - footerMargin: I have no idea what this does. As far as I can tell it does nothing. Code:                      BOOK TEXT
               ----------------------
                                     } <-- margin-top
               ----------------------
                                     }
font size --> {    Page 34 of 408    } <-- min-height/max-height
                                     }
               ----------------------
                                     } <-- padding-bottom
               ----------------------
                       BEZEL- the font-family used for the book text (some fonts such as Gothic sit lower on the line, occupying some of the footer gap) - widows/orphans settings in the book (can be disabled with the `Fix page breaks bug` patch) - @page margins settings in the book (can be stripped easily with Modify ePub plugin) - .xpgt settings in the book (.xpgt file and links can be deleted easily with Modify ePub plugin) - `ePub adjustable top/bottom margins` and `ePub fixed top margin` patches (these override the @page margin settings in the book) Last edited by GeoffR; 10-27-2014 at 03:13 AM. Reason: Other things ... | 
|   |   | 
|  10-26-2014, 11:06 PM | #56 | 
| my parent's oops...            Posts: 493 Karma: 1477572 Join Date: Feb 2009 Device: Vx->Handera->Clie-> Axim->505->650->KPW/Aura ->L2->iOS/CBW | 
			
			Thanks GeoffR for the explanation. That helps me a great deal.
		 | 
|   |   | 
|  10-27-2014, 05:28 AM | #57 | 
| Bookworm            Posts: 975 Karma: 768585 Join Date: Aug 2010 Location: Netherlands Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo | 
			
			Wow GeoffR such a simple but very clear drawing, thank you !! But what does the footerMargin value ? Last edited by Nick_1964; 10-27-2014 at 05:32 AM. | 
|   |   | 
|  10-27-2014, 11:45 AM | #58 | |
| my parent's oops...            Posts: 493 Karma: 1477572 Join Date: Feb 2009 Device: Vx->Handera->Clie-> Axim->505->650->KPW/Aura ->L2->iOS/CBW | Quote: 
 Thanks for the diagram GeoffR. | |
|   |   | 
|  10-27-2014, 01:38 PM | #59 | |
| Grand Sorcerer            Posts: 6,267 Karma: 16544702 Join Date: Sep 2009 Location: UK Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3 | Quote: 
 Code: # Example for AuraHD/H2O:
...
replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 170;`  | |
|   |   | 
|  10-27-2014, 02:20 PM | #60 | |
| Bookworm            Posts: 975 Karma: 768585 Join Date: Aug 2010 Location: Netherlands Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo | Quote: 
 If you don't know what it does, I don't see a reason for different values for Aura HD or Glo. At the other hand, I changed it in several other values and I can't see anything changing ? | |
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Firmware Update Instructions and the latest Firmware Versions | mitchwah | Ectaco jetBook | 113 | 10-24-2023 09:02 PM | 
| Instructions for patching firmware 3.2.0 | DNSB | Kobo Developer's Corner | 66 | 12-05-2014 07:28 AM | 
| Instructions for patching firmware 3.8.0 | GeoffR | Kobo Developer's Corner | 92 | 10-22-2014 07:22 AM | 
| Instructions for patching firmware 3.3.x, 3.4.x, 3.5.x | GeoffR | Kobo Developer's Corner | 285 | 08-27-2014 10:06 AM | 
| Instructions for patching firmware 3.1.1 | GeoffR | Kobo Developer's Corner | 64 | 04-18-2014 01:23 PM |