Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-25-2014, 03:05 PM   #31
ectoplasm
Addict
ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.
 
Posts: 255
Karma: 1151364
Join Date: Aug 2009
Device: Aura HD and H2O
Quote:
Originally Posted by dedalos View Post
How can I set the patch to obtain this result? Please help me and my aura hd.
That is exactly the layout I like, and I haven't been able to get there with my H2O yet. I'll try DNSB's settings.
ectoplasm is offline   Reply With Quote
Old 10-25-2014, 05:12 PM   #32
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by GeoffR View Post
I've posted a new `Freedom to advanced fonts control` patch in post #2. It seems to work okay for me, but I don't use sideloaded fonts much for reading, so treat it with caution.

Don't use this patch if you have your device language or book language set to Japanese!

The patch causes a function to be called with an undefined argument. This is a bad thing to do, but as far as I can tell the undefined value is only used when the locale or book language is set to Japanese. Hopefully someone can find a better patch in time.
Quote:
Originally Posted by jackie_w View Post
Thanks, Geoff I'm busy until this evening but I should be able to test it then. Will report back.
So far so good. No unintended consequences so far. Let's hope it lasts.
Thank you, again, for the work you do.
jackie_w is offline   Reply With Quote
Advert
Old 10-25-2014, 05:24 PM   #33
Nick_1964
Bookworm
Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.
 
Nick_1964's Avatar
 
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
Quote:
Originally Posted by GeoffR View Post
I've posted a new `Freedom to advanced fonts control` patch in post #2. It seems to work okay for me, but I don't use sideloaded fonts much for reading, so treat it with caution.

Don't use this patch if you have your device language or book language set to Japanese!

The patch causes a function to be called with an undefined argument. This is a bad thing to do, but as far as I can tell the undefined value is only used when the locale or book language is set to Japanese. Hopefully someone can find a better patch in time.
I gonna try this one tomorrow.. I have some strange issues with my glo, when I put it to sleep,the next day it is freezed,for some strange reason with an underlined txt on the page, and a lot of strange error messages (dunno exactly the name,as it is upstairs now) starting with Oh humanity... and a lot of values... but the stupid is, if I just open or close the flap of the cover,it doesn't happen.. but after a night of sleep..
Nick_1964 is offline   Reply With Quote
Old 10-25-2014, 06:03 PM   #34
duncann
Member
duncann began at the beginning.
 
Posts: 23
Karma: 12
Join Date: Feb 2011
Device: PRS-950, T1
I've been using the advanced font control on 3.1.1 and sideloaded fonts without any issues that I can tell.

Definitely a big thanks to GeoffR for the patches. The kobo software has many shortfalls and would possibly make me return the H2O without them. Why Kobo can't do the basic things these patches do is beyond me???
duncann is offline   Reply With Quote
Old 10-25-2014, 06:38 PM   #35
booklover6
Grand Sorcerer
booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.booklover6 ought to be getting tired of karma fortunes by now.
 
booklover6's Avatar
 
Posts: 6,533
Karma: 14008730
Join Date: May 2008
Location: PA (USA)
Device: Kobo Clara, 2E, Libre, PW4, PW5, 2022 Kindle
Tested the patch with the Freedom to advanced fonts control on my Aura, and it works great! Thanks!
booklover6 is offline   Reply With Quote
Advert
Old 10-25-2014, 06:52 PM   #36
velkro2
Junior Member
velkro2 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2014
Device: Kobo Aura HD
Thank you very much GeoffRf.
Is there any form to set sharpness always in maximum value (with no relation with weight)?
In firmware versions until 3.1.1, sharpness and weight settings were independent. I always set sharpness on maximum. I think the transition between pages looks to be faster. Is there any pach to recover that feature in the new firmware?



Quote:
Originally Posted by Jellby View Post
I don't like the "Page xx of yy" format for the footer, but I still want to see the "pages", so I'm using this patch:

Code:
<Patch>
patch_name = `Custom footer`
patch_enable = `yes`
#
# Changes the footer text with something shorter
# (not sure how it affects translations)
#
replace_string = CAA164, `Page %1 <i>of</i> %2`, `%1/%2`
</Patch>
Now the footer is simply "xx/yy". Similar patches could be done for the percentage and time left formats, I guess.
Thanks Jellby! That format looks better for me too.
velkro2 is offline   Reply With Quote
Old 10-25-2014, 08:32 PM   #37
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
Quote:
Originally Posted by Jellby View Post
I don't like the "Page xx of yy" format for the footer, but I still want to see the "pages", so I'm using this patch:

Code:
<Patch>
patch_name = `Custom footer`
patch_enable = `yes`
#
# Changes the footer text with something shorter
# (not sure how it affects translations)
#
replace_string = CAA164, `Page %1 <i>of</i> %2`, `%1/%2`
</Patch>
Now the footer is simply "xx/yy". Similar patches could be done for the percentage and time left formats, I guess.
I really like this as well and added it into the patch and it worked great. I added a space before and after the slash though so it's not all crowded together which makes it easier for my decrepit eyes to read.
Ripplinger is offline   Reply With Quote
Old 10-25-2014, 11:26 PM   #38
ectoplasm
Addict
ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.
 
Posts: 255
Karma: 1151364
Join Date: Aug 2009
Device: Aura HD and H2O
Quote:
Originally Posted by Jellby View Post
I don't like the "Page xx of yy" format for the footer, but I still want to see the "pages", so I'm using this patch:

Code:
<Patch>
patch_name = `Custom footer`
patch_enable = `yes`
#
# Changes the footer text with something shorter
# (not sure how it affects translations)
#
replace_string = CAA164, `Page %1 <i>of</i> %2`, `%1/%2`
</Patch>
Now the footer is simply "xx/yy". Similar patches could be done for the percentage and time left formats, I guess.
Isn't the length supposed to be the same?
Like this:
Code:
replace_string = CAA164, `Page %1 <i>of</i> %2`, `     %1 / %2        `
Or does that not apply in this case?
ectoplasm is offline   Reply With Quote
Old 10-25-2014, 11:33 PM   #39
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by ectoplasm View Post
Isn't the length supposed to be the same?
It shouldn't matter in this case.

The situations where the length of the replacement string has to remain the same are:
- When patching a QString object (the ones where there is a \x00 after each character)
- When the replacement string doesn't include the end of the string, such as with the individual lines in the custom reading footer patch.
GeoffR is offline   Reply With Quote
Old 10-26-2014, 04:09 AM   #40
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
The replacement string has to be the same length or shorter, in this case.

I think I tried with spaces before the %1, and the footer came out off-center. I don't remember if spaces after the %2 made it centered again, but just removing the spaces was easier.

A side effect seems to be that it also changes the format of the "Page %1 of %2" texts in other parts of the interface (settings, search results, etc.).
Jellby is offline   Reply With Quote
Old 10-26-2014, 05:10 AM   #41
giododa
Connoisseur
giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
giododa's Avatar
 
Posts: 70
Karma: 30702
Join Date: Jul 2010
Location: Italy
Device: Kobo Libra H2O
I have some problem in customizing the patch for the reading footer style in my AuraHD.
I'd wish to further reduce the blank space between text and top-margin of the footer.
I don't understand if I have to modify the values only in the AuraHD/H2O section (strings DBDC0D, DBDC20, DBDC3D, DBDC58, DBDC6A, DBDC80, ) or in the first section too (string DBDBFC).
Could you please show me which values I have to modify?
Thank you.
giododa is offline   Reply With Quote
Old 10-26-2014, 05:29 AM   #42
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
For simple changes you only need to modify some of the following lines:
Code:
# Example for AuraHD/H2O:
replace_string = DBDC0D, `min-height: 70px;`, `min-height: 50px;`
replace_string = DBDC20, `max-height: 70px;`, `max-height: 50px;`
replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 170;`
replace_string = DBDC58, `font-size: 16px;`, `font-size: 26px;`
replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom: 8px;`
replace_string = DBDC80, `margin-top: 0px;`, `margin-top: 0px;`
#
# Uncomment one of the following if you wish the footer to use a fixed font.
# (And enable one of the Custom header style patches below with the same font.)
#
#replace_string = DBDC92, `/*font-family:none;*/`, `font-family:  Amasis;`
#replace_string = DBDC92, `/*font-family:none;*/`, `font-family:  Avenir;`
#replace_string = DBDC92, `/*font-family:none;*/`, `font-family: Georgia;`
There are two things you can do to further reduce the space between the text and footer:

1. Add a negative margin-top to the footer:
Code:
replace_string = DBDC80, `margin-top: 0px;`, `margin-top:-5px;`
2. Reduce the height of the footer, and add some bottom padding to keep the footer the same distance from the bezel:
Code:
replace_string = DBDC0D, `min-height: 70px;`, `min-height: 40px;`
replace_string = DBDC20, `max-height: 70px;`, `max-height: 40px;`
replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom:13px;`
There is a complication that some fonts (such as Gothic) will be cut off at the bottom if you reduce the height too much. To avoid this you can also change the font-family used for the footer to one that doesn't suffer the cut-off problem, such as Avenir for example:
Code:
#replace_string = DBDC92, `/*font-family:none;*/`, `font-family:  Amasis;`
replace_string = DBDC92, `/*font-family:none;*/`, `font-family:  Avenir;`
#replace_string = DBDC92, `/*font-family:none;*/`, `font-family: Georgia;`

Last edited by GeoffR; 10-26-2014 at 05:43 AM. Reason: ... and add some bottom padding to compensate ...
GeoffR is offline   Reply With Quote
Old 10-26-2014, 05:55 AM   #43
giododa
Connoisseur
giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
giododa's Avatar
 
Posts: 70
Karma: 30702
Join Date: Jul 2010
Location: Italy
Device: Kobo Libra H2O
Thank you very much.
giododa is offline   Reply With Quote
Old 10-26-2014, 08:39 AM   #44
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
Quote:
Originally Posted by Jellby View Post
...
I think I tried with spaces before the %1, and the footer came out off-center. I don't remember if spaces after the %2 made it centered again, but just removing the spaces was easier.

A side effect seems to be that it also changes the format of the "Page %1 of %2" texts in other parts of the interface (settings, search results, etc.).
With the spaces before and after the slash, so the page numbers will be 57 / 412 instead of 57/412, it stays perfectly centered and it's just easier for me to read.

I hadn't noticed that it also changed search or settings yet, but that's not a problem at all for me, it could change the page numbering to that system everywhere on the reader and I'd be happy. I know why Kobo uses italics in some spots, so you know you can click on it, but for some reason I find it visually off-putting to see "Page 57 of 412." And if I see numbers at the bottom or certain places in the menu, I know they're page numbers, I find the extra text just odd to have there. I was able to make that same change to my Sony 350s with PRS+.

I probably wouldn't mind it as much if it was entirely in italics instead of just the word "of" in the middle of it.

Last edited by Ripplinger; 10-26-2014 at 08:45 AM.
Ripplinger is offline   Reply With Quote
Old 10-26-2014, 09:29 AM   #45
Nick_1964
Bookworm
Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.
 
Nick_1964's Avatar
 
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
Quote:
Originally Posted by GeoffR View Post
For simple changes you only need to modify some of the following lines:
Spoiler:
Code:
# Example for AuraHD/H2O:
replace_string = DBDC0D, `min-height: 70px;`, `min-height: 50px;`
replace_string = DBDC20, `max-height: 70px;`, `max-height: 50px;`
replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 170;`
replace_string = DBDC58, `font-size: 16px;`, `font-size: 26px;`
replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom: 8px;`
replace_string = DBDC80, `margin-top: 0px;`, `margin-top: 0px;`
#
# Uncomment one of the following if you wish the footer to use a fixed font.
# (And enable one of the Custom header style patches below with the same font.)
#
#replace_string = DBDC92, `/*font-family:none;*/`, `font-family:  Amasis;`
#replace_string = DBDC92, `/*font-family:none;*/`, `font-family:  Avenir;`
#replace_string = DBDC92, `/*font-family:none;*/`, `font-family: Georgia;`
There are two things you can do to further reduce the space between the text and footer:

1. Add a negative margin-top to the footer:
Code:
replace_string = DBDC80, `margin-top: 0px;`, `margin-top:-5px;`
2. Reduce the height of the footer, and add some bottom padding to keep the footer the same distance from the bezel:
Code:
replace_string = DBDC0D, `min-height: 70px;`, `min-height: 40px;`
replace_string = DBDC20, `max-height: 70px;`, `max-height: 40px;`
replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom:13px;`
There is a complication that some fonts (such as Gothic) will be cut off at the bottom if you reduce the height too much. To avoid this you can also change the font-family used for the footer to one that doesn't suffer the cut-off problem, such as Avenir for example:
Code:
#replace_string = DBDC92, `/*font-family:none;*/`, `font-family:  Amasis;`
replace_string = DBDC92, `/*font-family:none;*/`, `font-family:  Avenir;`
#replace_string = DBDC92, `/*font-family:none;*/`, `font-family: Georgia;`
Played a bit with these settings.
I use this settings now for Glo and Aura HD:
Spoiler:


<Patch>
patch_name = `Custom reading footer style`
patch_enable = `yes`
replace_string = DBDBFC, `ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 105;\n}\n\nReadingFooter[qApp_deviceCodeName="phoenix"] {\n\tmin-height: 82px;\n\tmax-height: 82px;\n}\n\nReadingFooter[qApp_deviceCodeName="dragon"] {\n\tmin-height: 120px;\n\tmax-height: 120px;\n\tqproperty-footerMargin: 170;\n}\n\n* {\n\tfont-size: 16px;\n}\n\n[qApp_deviceCodeName="phoenix"] {\n\tfont-size: 20px;\n}\n\n[qApp_deviceCodeName="dragon"] {\n\tfont-size: 26px;\n}\n\n[qApp_localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`, `ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 105;\n}\n\n* {\n\tfont-size: 16px;\n\tpadding-bottom: 0px;\n\tmargin-top: 0px;\n\t/*font-family:none;*/\n}\n\n[qApp_localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`
#
# Uncomment the replace_string lines of one of the examples below, comment out
# the rest. If you choose to make further changes to the examples, BE CAREFUL
# NOT TO ALTER THE LENGTH OF THE REPLACEMENT STRINGS! (Add or remove spaces if
# necessary to keep the total length the same.)
#
# Example for Nick's Glo:
replace_string = DBDC0D, `min-height: 70px;`, `min-height: 40px;`
replace_string = DBDC20, `max-height: 70px;`, `max-height: 40px;`
replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 105;`
replace_string = DBDC58, `font-size: 16px;`, `font-size: 28px;`
replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom: 7px;`
replace_string = DBDC80, `margin-top: 0px;`, `margin-top:10px;`
#
# Example for Nick's Aura HD:
#replace_string = DBDC0D, `min-height: 70px;`, `min-height: 50px;`
#replace_string = DBDC20, `max-height: 70px;`, `max-height: 50px;`
#replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 170;`
#replace_string = DBDC58, `font-size: 16px;`, `font-size: 35px;`
#replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom: 8px;`
#replace_string = DBDC80, `margin-top: 0px;`, `margin-top:13px;`
#
# Uncomment one of the following if you wish the footer to use a fixed font.
# (And enable one of the Custom header style patches below using the same font.)
#
replace_string = DBDC92, `/*font-family:none;*/`, `font-family: Amasis;`
#replace_string = DBDC92, `/*font-family:none;*/`, `font-family: Avenir;`
#replace_string = DBDC92, `/*font-family:none;*/`, `font-family: Georgia;`
#
</Patch>

Gives me this result: ( still a bit to much wasted space on the Aura HD bottom,but I can't get that better.)
Click image for larger version

Name:	glo.png
Views:	462
Size:	130.2 KB
ID:	130187 Glo. and Click image for larger version

Name:	Aura.png
Views:	462
Size:	162.8 KB
ID:	130186 Aura HD.
Thanks GeoffR for pointing out where the values stand for, the more I know what the values do, the more I can find my way in it.

Last edited by Nick_1964; 10-26-2014 at 10:08 AM.
Nick_1964 is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 09:48 PM.


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