02-23-2015, 07:30 AM | #16 |
Guru
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. |
02-23-2015, 08:14 AM | #17 |
Guru
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. |
Advert | |
|
02-23-2015, 08:35 AM | #18 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
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 ... |
|
02-23-2015, 08:58 AM | #19 |
Guru
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.
|
02-23-2015, 10:39 AM | #20 | |
Resident Curmudgeon
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:
|
|
Advert | |
|
02-24-2015, 01:26 AM | #21 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
|
|
03-15-2015, 10:20 PM | #23 | |
Wizard
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:
|
|
03-16-2015, 09:42 PM | #24 |
Wizard
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:
Last edited by GeoffR; 03-20-2015 at 01:16 AM. Reason: Updated patch and comments about different layout on Aura HD/H2O |
03-17-2015, 03:42 AM | #25 |
Guru
Posts: 733
Karma: 5797160
Join Date: Jun 2010
Location: Istanbul
Device: Kobo Libra
|
Turkish keyboard:
Spoiler:
|
04-13-2015, 07:54 AM | #26 |
Bookworm
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. |
04-13-2015, 08:21 AM | #27 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Code:
# Replacement caption font size value for Glo/Aura: replace_string = 0054, `font-size: 20px;`, `font-size: 20px;` 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;}` |
|
04-13-2015, 08:24 AM | #28 | |
Bookworm
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
|
Quote:
|
|
04-13-2015, 08:32 AM | #29 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
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;` |
|
04-13-2015, 09:25 AM | #30 |
Bookworm
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 ? |
|
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 |