10-19-2013, 06:47 PM | #286 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Code:
patch_name = `Margins fine tuning` |
|
10-19-2013, 07:28 PM | #287 | |
Unicycle Daredevil
Posts: 13,923
Karma: 185041098
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
|
EDIT: Ooops, didn't see jackie_w's post, which already has the same info. Leaving mine anyway, since I've got a bit more detail...
Quote:
Code:
patch_name = `Margins fine tuning` patch_enable = `yes` # Initial replaces replace_bytes = 848E86, 19 46, 00 21 replace_bytes = 848E88, 1A 46, 00 22 # Values for replace # Left margin replace_int = 848E86, 0, 00 # Top margin replace_int = 848E88, 0, 05 Last edited by doubleshuffle; 10-19-2013 at 07:31 PM. |
|
Advert | |
|
10-20-2013, 03:15 PM | #288 |
Member
Posts: 14
Karma: 83458
Join Date: Oct 2013
Device: different
|
This was it, thanks
|
10-23-2013, 04:43 AM | #289 |
Groupie
Posts: 197
Karma: 38050
Join Date: Oct 2013
Location: Anywhere I am sent!!!
Device: Kobo Touch
|
well I was going to do this but got a scared as so much info and none made sense....
this is what I wish to do small footer and headers.advanced settings user fonts could someone advise as to correct settings etc.. touch with fw 2.61 |
10-23-2013, 05:50 AM | #290 |
Bookworm
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
|
This is my config file for my kobo aura hd and working perfect, but.... it would be great if all books would have 0.5em or 5 pts margins on left and right side.
Is it possible that someone will point me in the right direction ? Code:
# Kobo Patch Generator config file # firmware ver. 2.8.1 # (c) 2013 MZ # <Patch> patch_name = `Custom reading footer style` patch_enable = `yes` # Disable footer example #replace_zlib = 1205FF4, `ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 40;\n}\n\nReadingFooter[deviceCodeName="kraken"], \nReadingFooter[deviceCodeName="phoenix"] {\n\tmin-height: 82px;\n\tmax-height: 82px;\n\tqproperty-footerMargin: 110;\n}\n\nReadingFooter[deviceCodeName="dragon"] {\n\tmin-height: 120px;\n\tmax-height: 120px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 16px;\n}\n\n[deviceCodeName="kraken"], \n[deviceCodeName="phoenix"] {\n\tfont-size: 20px;\n}\n\n[deviceCodeName="dragon"] {\n\tfont-size: 26px;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`, `* {\n\theight: 5px;\n\tfont-size: 1px;\n\tcolor: transparent;\n}\n\n` # Decrease footer example replace_zlib = 1205FF4, `ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 40;\n}\n\nReadingFooter[deviceCodeName="kraken"], \nReadingFooter[deviceCodeName="phoenix"] {\n\tmin-height: 82px;\n\tmax-height: 82px;\n\tqproperty-footerMargin: 110;\n}\n\nReadingFooter[deviceCodeName="dragon"] {\n\tmin-height: 120px;\n\tmax-height: 120px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 16px;\n}\n\n[deviceCodeName="kraken"], \n[deviceCodeName="phoenix"] {\n\tfont-size: 20px;\n}\n\n[deviceCodeName="dragon"] {\n\tfont-size: 26px;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`, `ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 40;\n}\n\nReadingFooter[deviceCodeName="kraken"], \nReadingFooter[deviceCodeName="phoenix"] {\n\tmin-height: 40px;\n\tmax-height: 40px;\n\tqproperty-footerMargin: 40;\n}\n\nReadingFooter[deviceCodeName="dragon"] {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 16px;\n}\n\n[deviceCodeName="kraken"], \n[deviceCodeName="phoenix"] {\n\tfont-size: 20px;\n}\n\n[deviceCodeName="dragon"] {\n\tfont-size: 31px;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}` </Patch> <Patch> patch_name = `My line spacing values` patch_enable = `yes` # Internal checks bypass replace_float = 6857E0, 1.225, 0.1 replace_float = 685820, 1.225, 0.1 # Values for replace replace_float = 1201A58, 1.3, 0.8 replace_float = 1201A60, 1.35, 0.85 replace_float = 1201A68, 1.4, 0.9 replace_float = 1201A70, 1.6, 0.95 replace_float = 1201A78, 1.775, 1.0 replace_float = 1201A80, 1.9, 1.05 replace_float = 1201A88, 2.0, 1.1 replace_float = 1201A90, 2.2, 1.15 replace_float = 1201A98, 3.0, 1.2 </Patch> <Patch> patch_name = `Wi-Fi insomnia` patch_enable = `no` replace_bytes = 704678, 11 B9, 00 46 </Patch> <Patch> patch_name = `Freedom to advanced fonts control` patch_enable = `yes` replace_bytes = 892894, 2C F4 52 EE, 3C F4 4C E9 replace_bytes = 982714, 70 F7 E0 E3, 00 46 00 46 replace_bytes = 984166, 6E F7 B8 E6, 00 46 00 46 </Patch> <Patch> patch_name = `Custom fonts sizes` patch_enable = `yes` # Values for replace replace_int = F773F8, 12, 15 replace_int = F773FC, 14, 16 replace_int = F77400, 16, 17 replace_int = F77404, 17, 18 replace_int = F77408, 18, 19 replace_int = F7740C, 19, 20 replace_int = F77410, 20, 21 replace_int = F77414, 21, 22 replace_int = F77418, 22, 23 replace_int = F7741C, 24, 24 replace_int = F77420, 25, 25 replace_int = F77424, 26, 26 replace_int = F77428, 28, 27 replace_int = F7742C, 32, 28 replace_int = F77430, 36, 29 replace_int = F77434, 40, 30 replace_int = F77438, 44, 31 replace_int = F7743C, 46, 32 replace_int = F77440, 48, 33 replace_int = F77444, 50, 34 replace_int = F77448, 52, 35 replace_int = F7744C, 54, 36 replace_int = F77450, 56, 37 replace_int = F77454, 58, 38 </Patch> <Patch> patch_name = `Custom left & right margins` patch_enable = `yes` # Values for replace replace_int = 1201AA4, 02, 01 replace_int = 1201AA8, 04, 02 replace_int = 1201AAC, 06, 03 replace_int = 1201AB0, 08, 04 replace_int = 1201AB4, 10, 05 replace_int = 1201AB8, 12, 06 replace_int = 1201ABC, 14, 07 replace_int = 1201AC0, 16, 08 </Patch> <Patch> patch_name = `Remove system fonts in Reader list` patch_enable = `no` replace_bytes = 96A94E, 60 F7 7E E7, 00 46 00 46 </Patch> <Patch> patch_name = `Brightness fine control` patch_enable = `yes` replace_int = 82DFCC, 10, 01 replace_int = 82DFFC, 10, 01 </Patch> <Patch> patch_name = `Cyrillic keyboard` patch_enable = `no` # Enable uppercase for [ß] key replace_bytes = 7FBCA2, 00 24, 01 24 # Replace layout sign #replace_bytes = F63FD0, C3 89 C3 80 C3 87, D0 90 D0 91 D0 92 replace_string = F63FD0, `ÉÀÇ`, `абв` # Change keyboard layout replace_utf8chars = F645D4, `æ`, `й` replace_utf8chars = F64464, `àèìòùáéíóú`, `цукенгшщзх` replace_utf8chars = F645F8, `ý`, `ъ` replace_utf8chars = F645D8, `œ`, `ф` replace_utf8chars = F644B0, `âêîôû`, `ывапр` replace_utf8chars = F6448C, `äëïöüÿ`, `олджэё` replace_utf8chars = F644C4, `ã`, `я` replace_utf8chars = F644A8, `ñõ`, `чс` replace_utf8chars = F645FC, `å`, `м` replace_utf8chars = F64434, `ß`, `и` replace_utf8chars = F644A4, `ç`, `т` replace_utf8chars = F64600, `đøij`, `ьбю` replace_utf8chars = F645E8, `ł`, `.` </Patch> <Patch> patch_name = `Allow download all in Browser` patch_enable = `yes` replace_bytes = 93F4F4, B1 F7 EC E0, 01 20 01 20 </Patch> <Patch> patch_name = `Fix page breaks bug` patch_enable = `yes` replace_bytes = C13B6E, E8 D0, E8 E7 #Alternative method #replace_bytes = C13B6E, E8 D0, 00 46 </Patch> <Patch> patch_name = `Margins fine tuning` patch_enable = `no` # Initial replaces replace_bytes = 848E86, 19 46, 00 21 replace_bytes = 848E88, 1A 46, 00 22 # Values for replace # Left margin replace_int = 848E86, 0, 10 # Top margin replace_int = 848E88, 0, 10 </Patch> Last edited by Nick_1964; 10-23-2013 at 06:06 AM. |
Advert | |
|
10-23-2013, 07:45 AM | #291 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
@Nick,
That isn't what the patch called `Margins fine tuning` is for. Left/Right page margins should be able to be set using the Kobo's adjust Margins slider. If nothing happens when you slide it, it suggests that particular epub's internal css contains left/right margins which are overriding the slider. If you remove them (and I mean remove not set to zero) before transferring to the Kobo, all should be well. If you're a calibre user you may need to revisit your Preferences for Page Margins and set them to 'No margins' for future conversions. Unfortunately, if the left/right margins are already set in the epub, I don't know of any way other than manual (Sigil or calibre Tweak Ebook) to do the removing. |
10-23-2013, 08:23 AM | #292 |
Bookworm
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
|
Sure I can set it by the slider, but it is more easy when it is set automatically ... but for sure, I have to edit almost every e-book that I buy, put off justification, get out with the ugly fonts,remove indents ( I like it all lined up ) get out with line spacing, remove the margins that sometimes make the white space on the page more then 30%, remove the adobe styles pages in /misc.. and before I can do that, the drm.... it is nice to have a reader with all of these features, but without editing the books, you can't use them.. it should be that the reader can override things.. how terrible it must be for people that doesn't know how to use Sigil ?
|
10-23-2013, 03:42 PM | #293 |
Time Waster
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
|
Has anyone here tried to write directly to Metazoa? Maybe someone knows russian! I've got a couple feature proposals that I'd like to ask him.
|
10-23-2013, 03:54 PM | #294 |
Grand Sorcerer
Posts: 12,166
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Be aware that in newer firmware releases Lobo is making it harder to find these patchable areas and some of them seem not to exist now.
|
10-23-2013, 07:07 PM | #295 |
Evangelist
Posts: 469
Karma: 600816
Join Date: Sep 2009
Device: Kobo Aura HD, Kobo Aura One
|
You can post them here and I'll pass them on, but given that Metazoa hasn't released any updates to the patch in a while I think he's happy with the patcher's state. Unless he really likes your ideas chances are he won't do anything.
|
10-23-2013, 09:55 PM | #296 | ||
Traumatized
Posts: 68
Karma: 175722
Join Date: Oct 2009
Device: paper, Kobo Glue
|
Quote:
I posted on this topic already some request some weeks ago in the hope someone will offer it : Quote:
|
||
10-23-2013, 11:05 PM | #297 |
Evangelist
Posts: 469
Karma: 600816
Join Date: Sep 2009
Device: Kobo Aura HD, Kobo Aura One
|
|
10-24-2013, 12:02 AM | #298 | |
Bibliophagist
Posts: 35,380
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Regards, David |
|
10-24-2013, 04:54 AM | #299 | |
Time Waster
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
|
Quote:
- It looks like they removed time statistics for .kepub.epub starting from 2.9.0. I'd like to ask to Metazoa when he starts working on this newer firmware to try to find a way to have those back. It should be fairly easy, I hope. - Internal fonts are somehow obfuscated to avoid people ripping them out of the firmware and using those elsewhere. I'd like to find out how nickel decrypts those to be able to use internal fonts with Koreader/Cool reader. I'm asking Metazoa since it requires decompiling or analyzing assembler, I'm not really familiar with that while he is. If he can't do that or he has no spare time now I'll have a look myself. |
|
10-24-2013, 05:05 AM | #300 |
Groupie
Posts: 197
Karma: 38050
Join Date: Oct 2013
Location: Anywhere I am sent!!!
Device: Kobo Touch
|
would someone please kindly supply the correct settings to reduce the header and footers....
thank you |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo How to import reading Life Statistics from Kobo Touch to Kobo Glo? | the_m | Kobo Reader | 5 | 12-13-2012 03:40 PM |
$25 gift card w. purchase of Kobo Touch or Kobo Vox at Frys | sufue | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 07-15-2012 10:39 AM |
Touch Kobo Touch defective after 3 months and Kobo Customer Support useless | shaf | Kobo Reader | 5 | 12-04-2011 05:10 PM |
Touch Kobo Touch not ejecting cleanly with Calibre OR Kobo Desktop - Windows 7 | JBlyth | Kobo Reader | 11 | 08-03-2011 05:38 PM |
Kobo Touch not disconnecting properly from Calibre OR Kobo Desktop - Windows 7 | JBlyth | Devices | 1 | 08-03-2011 06:50 AM |