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 02-23-2015, 07:30 AM   #16
GERGE
Guru
GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.
 
Posts: 733
Karma: 5797160
Join Date: Jun 2010
Location: Istanbul
Device: Kobo Libra
This is the Turkish keyboard patch, if it is possible, I would like to change all of the first row too.

Code:
<Patch>
patch_name = `Turkish keyboard`
patch_enable = `yes`
# Replace layout sign
replace_string = C16AB4, `ÉÀÇ`, `TR/EN`
# Change keyboard layout
base_address = C169D4
# Second row
replace_string = 0004, `à\0`, `q`
replace_string = 0008, `è\0`, `w`
replace_string = 000C, `ì\0`, `e`
replace_string = 0010, `ò\0`, `r`
replace_string = 0014, `ù\0`, `t`
replace_string = 0018, `á\0`, `y`
replace_string = 001C, `é\0`, `u`
replace_string = 0020, `í\0`, `ı`
replace_string = 0024, `ó\0`, `o`
replace_string = 0028, `ú\0`, `p`
replace_string = 002C, `ý\0`, `ü`
# Third row
replace_string = 0034, `â\0`, `a`
replace_string = 0038, `ê\0`, `s`
replace_string = 003C, `î\0`, `d`
replace_string = 0040, `ô\0`, `f`
replace_string = 0044, `û\0`, `g`
replace_string = 0048, `ä\0`, `h`
replace_string = 004C, `ë\0`, `j`
replace_string = 0050, `ï\0`, `k`
replace_string = 0054, `ö\0`, `l`
replace_string = 0058, `ü\0`, `ş`
replace_string = 005C, `ÿ\0`, `ğ`
# Bottom row
replace_string = 0060, `ã\0`, `z`
replace_string = 0064, `ñ\0`, `x`
replace_string = 0068, `õ\0`, `c`
replace_string = 006C, `å\0`, `v`
replace_string = 0070, `ß\0`, `b`
replace_string = 0074, `ç\0`, `n`
replace_string = 0078, `đ\0`, `m`
replace_string = 007C, `ø\0`, `ö`
replace_string = 0080, `ij\0`, `ç`
replace_string = 0084, `ł\0`, `i`
</Patch>

Last edited by GERGE; 02-23-2015 at 08:10 AM.
GERGE is offline   Reply With Quote
Old 02-23-2015, 08:14 AM   #17
GERGE
Guru
GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.
 
Posts: 733
Karma: 5797160
Join Date: Jun 2010
Location: Istanbul
Device: Kobo Libra
New `KePub zero body margin/padding` patch doesn't work. The old one worked perfectly with the FullScreenReading and Glo, but with this one cut offs are back.

If you turn back to normal reading, set your settings for the FullScreenReading, and then return to the FullScreenReading, things are well; but if you make even one change (font size, line spacing or margin) while in FullScreenReading, text is cutted off.
GERGE is offline   Reply With Quote
Advert
Old 02-23-2015, 08:35 AM   #18
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 GERGE View Post
New `KePub zero body margin/padding` patch doesn't work. The old one worked perfectly with the FullScreenReading and Glo, but with this one cut offs are back.

If you turn back to normal reading, set your settings for the FullScreenReading, and then return to the FullScreenReading, things are well; but if you make even one change (font size, line spacing or margin) while in FullScreenReading, text is cutted off.
Could you double-check that the patch is enabled? I really can't see any way the new patch could have that effect if the old one worked, as the part of the stylesheet that the new patch changes which the old patch didn't is only active in normal reading mode.

Edit: Just to make sure: there are two "cut off" bugs that affect KePubs in full-screen mode. The first bug just cuts off parts of letters like " f " and affects all kepubs; the second one shifts the whole page to the right and usually cuts off whole words, but only affects some kepubs. The `KePub zero body margin/padding` patch fixes the second bug, but you still need to use the `Fix kepub side bearing font cut-off bug` as well to fix the first bug.

Last edited by GeoffR; 02-23-2015 at 08:59 AM. Reason: Just to make sure ...
GeoffR is offline   Reply With Quote
Old 02-23-2015, 08:58 AM   #19
GERGE
Guru
GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.
 
Posts: 733
Karma: 5797160
Join Date: Jun 2010
Location: Istanbul
Device: Kobo Libra
I am sorry, really sorry. I just copied and pasted and forgot to enable the patch again. Everything is working now.
GERGE is offline   Reply With Quote
Old 02-23-2015, 10:39 AM   #20
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: 76,337
Karma: 136006010
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 GeoffR View Post
I've updated the `KePub zero body margin/padding` patch in patch_kobo_3131.zip attached to post #1. (This patch fixes the problem with some kepubs in full-screen reading mode where the text is shifted to the right and cut off at the right margin.) The new patch fixes the problem in full-screen mode, but unlike the old patch it doesn't prevent the margins being changed in normal reading mode.
Can you post the updated patch separately so those of us who have already edited tsome of the patches can just replace that one? Thanks.
JSWolf is offline   Reply With Quote
Advert
Old 02-24-2015, 01:26 AM   #21
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 JSWolf View Post
Can you post the updated patch separately so those of us who have already edited tsome of the patches can just replace that one? Thanks.
I've added the new `KePub zero body margin/padding` patch to my original post #15.
GeoffR is offline   Reply With Quote
Old 02-24-2015, 10:52 AM   #22
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: 76,337
Karma: 136006010
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 GeoffR View Post
I've added the new `KePub zero body margin/padding` patch to my original post #15.
Thanks.
JSWolf is offline   Reply With Quote
Old 03-15-2015, 10:20 PM   #23
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
KePub selection/dictionary problem with words at the end of the line

There is a problem that occurs in some KePubs when long-pressing a word at the end of the line, discussed in this thread: https://www.mobileread.com/forums/sho...8&postcount=95

The problem happens in normal and full-screen mode, but perhaps only when the margin slider is set to the minimum.

I think the solution is the same as for the font cut-off problem, described in the "Working around problems with reading kepubs in full-screen mode" section of post #2 in this thread:

Quote:
For sideloaded kepubs created by recent versions of Calibre's KoboTouchExtended driver, this can be fixed by adding the following to the book's stylesheet or to kobo_extra.css:
Code:
div#book-columns { padding: 0.2em !important; }
For kepubs synced from Kobo or created with older versions of the KoboTouchExtended driver, enabling the `Fix kepub side bearing font cut-off bug` patch will add the appropriate padding to the device's built-in stylesheet instead.
GeoffR is offline   Reply With Quote
Old 03-16-2015, 09:42 PM   #24
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
Keyboard template patch

Here is a new Cyrillic keyboard patch that can be used as a template for other languages, to create a custom keypad to replace the extended Latin keypad that appears when you tap the "ÉÀÇ" key.

Note that the keyboard layout on the Aura HD/H2O is different than on other devices:

For the Aura HD/H2O this patch can replace the 34 letters on the second, third and bottom rows, but not the numerals on the top row.

For the Touch/Mini/Glo/Aura the keys that appear at the left of the second and third rows of the Aura HD/H2O keypad have moved to the top row, and there are 7 more keys that can be replaced on the top row, along with a duplicate "ł" key (Latin small letter L with stroke) that appears both on the top and bottom row.

Firmware 3.13.1 (libnickel.so.1.0.0):
Spoiler:
Code:
<Patch>
patch_name = `Cyrillic keyboard`
patch_enable = `no`
# Enable uppercase for `ß` key
replace_bytes = 84D690, 00 24, 01 24
# Replace layout sign
replace_string = C16AB4, `ÉÀÇ`, `абв`
# Change keyboard layout
base_address = C169D4
# Second row, left to right:
# (for Touch/Mini/Glo/Aura the first key moves to top row, first column.)
replace_string = 0000, `æ\0`, `й`
replace_string = 0004, `à\0`, `ц`
replace_string = 0008, `è\0`, `у`
replace_string = 000C, `ì\0`, `к`
replace_string = 0010, `ò\0`, `е`
replace_string = 0014, `ù\0`, `н`
replace_string = 0018, `á\0`, `г`
replace_string = 001C, `é\0`, `ш`
replace_string = 0020, `í\0`, `щ`
replace_string = 0024, `ó\0`, `з`
replace_string = 0028, `ú\0`, `х`
replace_string = 002C, `ý\0`, `ъ`
# Third row, left to right:
# (for Touch/Mini/Glo/Aura the first key moves to top row, second column.)
replace_string = 0030, `œ\0`, `ф`
replace_string = 0034, `â\0`, `ы`
replace_string = 0038, `ê\0`, `в`
replace_string = 003C, `î\0`, `а`
replace_string = 0040, `ô\0`, `п`
replace_string = 0044, `û\0`, `р`
replace_string = 0048, `ä\0`, `о`
replace_string = 004C, `ë\0`, `л`
replace_string = 0050, `ï\0`, `д`
replace_string = 0054, `ö\0`, `ж`
replace_string = 0058, `ü\0`, `э`
replace_string = 005C, `ÿ\0`, `ё`
# Bottom row, left to right:
replace_string = 0060, `ã\0`, `я`
replace_string = 0064, `ñ\0`, `ч`
replace_string = 0068, `õ\0`, `с`
replace_string = 006C, `å\0`, `м`
replace_string = 0070, `ß\0`, `и`
replace_string = 0074, `ç\0`, `т`
replace_string = 0078, `đ\0`, `ь`
replace_string = 007C, `ø\0`, `б`
replace_string = 0080, `ij\0`, `ю`
replace_string = 0084, `ł\0`, `.`
#
# Top row: Extra keys for Touch/Mini/Glo/Aura only.
# (This patch cannot change the top row of the AuraHD/H2O keypad.)
base_address = C18C50
# Top row: columns 1-2 (see first key of second/third rows above.)
# Top row: columns 3-5
replace_string = 0004, `þ\0`, `!`
replace_string = 0008, `š\0`, `"`
replace_string = 000C, `ž\0`, `?`
# Top row: column 6 is a duplicate of the last key on the bottom row.
# Top row: columns 7-10
replace_string = 0000, `ƒ\0`, `,`
replace_string = 0010, `μ\0`, `(`
replace_string = 0014, `ª\0`, `)`
replace_string = 0018, `º\0`, `-`
</Patch>

Last edited by GeoffR; 03-20-2015 at 01:16 AM. Reason: Updated patch and comments about different layout on Aura HD/H2O
GeoffR is offline   Reply With Quote
Old 03-17-2015, 03:42 AM   #25
GERGE
Guru
GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.
 
Posts: 733
Karma: 5797160
Join Date: Jun 2010
Location: Istanbul
Device: Kobo Libra
Turkish keyboard:

Spoiler:
<Patch>
patch_name = `Turkish keyboard`
patch_enable = `no`
# Replace layout sign
replace_string = C16AB4, `ÉÀÇ`, `EN/TR`
#
# Change keyboard layout
base_address = C18C50
# Top row, position 3-5 from left
replace_string = 0004, `þ\0`, `?`
replace_string = 0008, `š\0`, `”`
replace_string = 000C, `ž\0`, `-`
# Top row, position 7-10 from left
replace_string = 0000, `ƒ\0`, `:`
replace_string = 0010, `μ\0`, `;`
replace_string = 0014, `ª\0`, `,`
replace_string = 0018, `º\0`, `.`
#
base_address = C169D4
# Top row, position 1-2 from left
replace_string = 0000, `æ\0`, `!`
replace_string = 0030, `œ\0`, `’`
# Second row
replace_string = 0004, `à\0`, `q`
replace_string = 0008, `è\0`, `w`
replace_string = 000C, `ì\0`, `e`
replace_string = 0010, `ò\0`, `r`
replace_string = 0014, `ù\0`, `t`
replace_string = 0018, `á\0`, `y`
replace_string = 001C, `é\0`, `u`
replace_string = 0020, `í\0`, `ı`
replace_string = 0024, `ó\0`, `o`
replace_string = 0028, `ú\0`, `p`
replace_string = 002C, `ý\0`, `ü`
# Third row
replace_string = 0034, `â\0`, `a`
replace_string = 0038, `ê\0`, `s`
replace_string = 003C, `î\0`, `d`
replace_string = 0040, `ô\0`, `f`
replace_string = 0044, `û\0`, `g`
replace_string = 0048, `ä\0`, `h`
replace_string = 004C, `ë\0`, `j`
replace_string = 0050, `ï\0`, `k`
replace_string = 0054, `ö\0`, `l`
replace_string = 0058, `ü\0`, `ş`
replace_string = 005C, `ÿ\0`, `ğ`
# Bottom row
replace_string = 0060, `ã\0`, `z`
replace_string = 0064, `ñ\0`, `x`
replace_string = 0068, `õ\0`, `c`
replace_string = 006C, `å\0`, `v`
replace_string = 0070, `ß\0`, `b`
replace_string = 0074, `ç\0`, `n`
replace_string = 0078, `đ\0`, `m`
replace_string = 007C, `ø\0`, `ö`
replace_string = 0080, `ij\0`, `ç`
replace_string = 0084, `ł\0`, `i`
</Patch>
GERGE is offline   Reply With Quote
Old 04-13-2015, 07:54 AM   #26
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
I am busy with the patch, but isn't it possible anymore to set the page xx of xx to a fixed font (in my case Amasis)
Also, the page xx of xx is a bit small,hard to read on the Glo, I would like it a bit bigger.

Last edited by Nick_1964; 04-13-2015 at 08:09 AM.
Nick_1964 is offline   Reply With Quote
Old 04-13-2015, 08:21 AM   #27
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 Nick_1964 View Post
I am busy with the patch, but isn't it possible anymore to set the page xx of xx to a fixed font (in my case Amasis)
Also, the page xx of xx is a bit small,hard to read on the Glo, I would like it a bit bigger.
To increase the footer font size on the Glo, replace the 20px at the end of this line in the `Custom reading footer style` patch with a larger number:
Code:
# Replacement caption font size value for Glo/Aura:
replace_string = 0054, `font-size: 20px;`, `font-size: 20px;`
I didn't include options for a fixed font because that was a workaround for the problem of Gothic being used when Document Default was selected, and Kobo have fixed that problem in this firmware.

But to use Amasis for the footer you could try adding this line to the end of the patch, just beware that there could be a problem with choosing Amasis because it is not one of the fonts that is loaded automatically at boot time. The first time you open a book after booting, the footer might not work properly until you select a font from the Aa menu.
Code:
replace_string = 00D7, `#caption[qApp_localeName="ja_JP"]`, `#caption{font-family:Amasis;}`
GeoffR is offline   Reply With Quote
Old 04-13-2015, 08:24 AM   #28
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
To increase the footer font size on the Glo, replace the 20px at the end of this line in the `Custom reading footer style` patch with a larger number:
Code:
# Replacement caption font size value for Glo/Aura:
replace_string = 0054, `font-size: 20px;`, `font-size: 20px;`
I didn't include options for a fixed font because that was a workaround for the problem of Gothic being used when Document Default was selected, and Kobo have fixed that problem in this firmware.

But to use Amasis for the footer you could try adding this line to the end of the patch, just beware that there could be a problem with choosing Amasis because it is not one of the fonts that is loaded automatically at boot time. The first time you open a book after booting, the footer might not work properly until you select a font from the Aa menu.
Code:
replace_string = 00D7, `#caption[qApp_localeName="ja_JP"]`, `#caption{font-family:Amasis;}`
Then I first proceed with the first part because I have My Kobo HD also, when I make the txt bigger, it sunks more to the bezel..
Nick_1964 is offline   Reply With Quote
Old 04-13-2015, 08:32 AM   #29
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 Nick_1964 View Post
Then I first proceed with the first part because I have My Kobo HD also, when I make the txt bigger, it sunks more to the bezel..
So then change the 052px at the end of both these lines to a larger number such as 060px, to increase the height of the footer:
Code:
# Replacement Footer height values: AuraHD/H2O
replace_string = 00DA, `min-height: 120px;`, `min-height: 052px;`
replace_string = 00EE, `max-height: 120px;`, `max-height: 052px;`
The footer code has changed a lot in this firmware version, it might take some trial and error to get the footer looking exactly how you had it before.
GeoffR is offline   Reply With Quote
Old 04-13-2015, 09:25 AM   #30
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
I have the problem that I had enabled the
patch_name = `Compact homepage layout (Glo)` on.
It looks like the patch have done something with the database on my Aura HD.
All the covers of the books are really small on the home page, I did disabled it again,but it would not make it better, a lot of white and very small covers.
I even raplaced the firmware again and then patch it with the setting off, but the pictures stay small so that is why I think it has done something with the pics loaded from the database, any idea how I get the original sizes back ?
Nick_1964 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Instructions for patching firmware 3.12.1 GeoffR Kobo Developer's Corner 56 03-20-2015 06:14 AM
Instructions for patching firmware 3.12.0 GeoffR Kobo Developer's Corner 165 02-07-2015 10:22 AM
Instructions for patching firmware 3.2.0 DNSB Kobo Developer's Corner 66 12-05-2014 08:28 AM
Instructions for patching firmware 3.3.x, 3.4.x, 3.5.x GeoffR Kobo Developer's Corner 285 08-27-2014 11:06 AM
Instructions for patching firmware 3.1.1 GeoffR Kobo Developer's Corner 64 04-18-2014 02:23 PM


All times are GMT -4. The time now is 02:47 AM.


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