09-29-2020, 04:37 AM | #31 | ||
Wizard
Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
|
Quote:
I don't like before/after paragraph space, also not in documents that I write myself, I always remove them. Would that be something your custom beta KePub stylesheet anchor style patch that you shared in the request patches thread could get rid of too? EDIT to add: Haha, that's a really stupid question, seeing your beta patch is for the anchor style specifically. Somehow, I'd got it into my head that the patch was for changing kepub CSS in general Quote:
Code:
# AuraHD/H2O/GloHD/ClaraHD (Dragon) - Find: "ReadingFooter[qApp_deviceIsDragon=true] {\n min-height: 101px;\n max-height: 101px;\n}" Replace: "ReadingFooter[qApp_deviceIsDragon=true] {\n min-height: 66px;\n max-height: 66px;\n}" Last edited by Mrs_Often; 09-29-2020 at 05:41 AM. |
||
09-30-2020, 06:09 AM | #32 | |
Wizard
Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
|
Quote:
However, I've also had a think, and there's of course two separate things: - The header & footer heights - The distance of the text between header/footer and the text. I actually quite like the header & footer heights in reduced state (33% at the moment, though I might increase it slightly so the footer text doesn't touch the progress bar*). What I don't like is the distance of the text to the header/footer. --> Would it be possible to make a padding patch or something to influence distance between the text and the top of the screen/header and the bottom of the screen/footer in (real and pretend) kepubs, preferably separately from each other? EDITS: Nevermind the request, I'll move it to the patch request thread *Yep, increased from 66px to 70px, and with re-aligned Mini Clock the footer is now a lot better Last edited by Mrs_Often; 09-30-2020 at 06:42 AM. |
|
Advert | |
|
09-30-2020, 09:49 AM | #33 | |
Grand Sorcerer
Posts: 6,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
- header caption and first line of page text - footer caption and last line of page text Spoiler:
E.g. as outlined in the help notes, using a negative px-value for margin-top in the first of the above Find/Replaces will allow you to set the header/footer smaller in patch Reduce new header/footer height without the footer caption cutting into the progressbar along the bottom. See screenshots 3 & 4 in this post. |
|
10-01-2020, 05:16 PM | #34 | ||
Grand Sorcerer
Posts: 6,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
kobopatch 'Dictionary text font-family/font-size/line-height'
Following up on my previous message:
Quote:
If you're already using this patch and you're experiencing problems with a headword (bigger bolder lookup word on first line) being clipped at the left edge then updating might help. I can't be 100% sure I've finished tweaking this patch yet so if today's new dictionaries aren't causing you any problems with this patch then maybe leave it alone for the time being. I need to see whether any new problems arise as more people get the new dictionaries. If you have any problems after updating, please report them here. |
||
10-01-2020, 05:35 PM | #35 |
Addict
Posts: 255
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E; Kobo Clara BW
|
This dictionary patch works perfectly on Clara HD. Thanks, @jackie_w.
|
Advert | |
|
10-01-2020, 06:52 PM | #36 |
Grand Sorcerer
Posts: 6,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
10-02-2020, 05:04 AM | #37 | |
Guru
Posts: 965
Karma: 3475832
Join Date: May 2012
Location: France
Device: Elipsa, Sage
|
Quote:
So, I'll just change yes to no in the first name patch, and report here whether it solves my problem with the new dictionaries. |
|
10-02-2020, 05:16 AM | #38 |
Guru
Posts: 965
Karma: 3475832
Join Date: May 2012
Location: France
Device: Elipsa, Sage
|
It didn't work. So I'll go back to the FW thread and say that the problem doesn't seem due to patching, which I already intuited, since there was no problem with Deutsch or Français.
|
10-02-2020, 09:03 AM | #39 |
Member
Posts: 13
Karma: 10
Join Date: Jun 2013
Device: Glo HD
|
hi, has anyone an updated patch for not syncing dictionarys?
for could not apply patch "Never sync dictionaries"? This https://pgaskin.net/dictutil/dicthtml/install.html doesnt' work anymore |
10-02-2020, 09:45 AM | #40 | |
Guru
Posts: 739
Karma: 7025494
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Inkpad 4, Inkpad Color
|
Quote:
More information provided by @geek1011 here: https://github.com/pgaskin/dictutil/issues/14 The fundamental thing to remember is to name the dictionary file dicthtml* otherwise it won't be recognized. |
|
10-02-2020, 09:56 AM | #41 | |
Member
Posts: 13
Karma: 10
Join Date: Jun 2013
Device: Glo HD
|
Quote:
Last edited by Malletta; 10-02-2020 at 10:22 AM. |
|
10-02-2020, 10:28 AM | #42 | |
Grand Sorcerer
Posts: 6,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
I believe it's the "big & bold" aspect that is causing your problem, but if you don't have any of the existing dictionary patches enabled then I wouldn't expect to see any problems. To pursue this further I would need to have access to all your current .yaml files - kobopatch.yaml plus all the .yaml files in the kobopatch /src/ subdirectory. If you gather them all together into a .zip file you should be able to attach it here. |
|
10-02-2020, 11:30 AM | #43 |
Member
Posts: 13
Karma: 10
Join Date: Jun 2013
Device: Glo HD
|
so i placed the dictionaries under the custom folder and they work, but...
Kobo doesn't remember the last dictionary I used, and it picks the default one (English in my case). Previously when I switched to a certain dictionary (They all were multiple English dictionaries but I renamed them, for example, as EN-PT, EN-JAP, etc) this last one would stick. Can I somehow reverse the situation so the last dictionary I use would be the default one? |
10-02-2020, 12:08 PM | #44 | |
Grand Sorcerer
Posts: 6,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
When you do a dictionary lookup part of the latest dictionary's name is stored in the Kobo database for that particular book. If a dictionary in .kobo/custom-dict/ has the same filename as one in .kobo/dict/ the database does not distinguish between the 2 versions. Hence when you do the next lookup it assumes the one from the .kobo/dict directory. A quick and dirty fix for one of your custom English dictionaries is to name it .kobo/custom-dict/dicthtml-en-en.zip. That should get "remembered" correctly for the next lookup because the database will store "-en-en" (without the quotes) after a successful lookup. It will appear as "English - English" in the dictionary drop-down list. If you've got several more English-only dictionaries I can only suggest doing what I've done which is to name them descriptively e.g. dicthtml-Collins.zip (for Collins English complete & unabridged) dicthtml-COE.zip (for Concise Oxford) dicthtml-Web1913.zip (for Webster's 1913) dicthtml-MWC.zip (for Merriam-Webster Collegiate) dicthtml-Chambers.zip (for Chambers 1908) dicthtml-Wiktionary.zip (for English Wiktionary) Don't use spaces in the filename. In addition you'll need to experiment with the filenames because the firmware will try to use the first 2 (or 3 ???) chars (after "dicthtml-") to lookup the name in an international language code table. If it finds a "hit" it will try to display a "user-friendly" expanded version of that language name (in that language's alphabet) as the dictionary's name in the drop-down list. However, it may not be user-friendly to an English reader, especially if the Kobo default Georgia font doesn't contain characters from that language's alphabet. |
|
10-02-2020, 01:47 PM | #45 |
Guru
Posts: 965
Karma: 3475832
Join Date: May 2012
Location: France
Device: Elipsa, Sage
|
Error.
|
Tags |
kobopatch, patch, patch32lsb, patches, patching |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Instructions for patching firmware 3.13.1 | GeoffR | Kobo Developer's Corner | 56 | 07-01-2016 10:59 AM |
Instructions for patching firmware 3.16.10 | GeoffR | Kobo Developer's Corner | 12 | 08-14-2015 04:40 AM |
Instructions for patching firmware 3.16.0 | GeoffR | Kobo Developer's Corner | 74 | 08-12-2015 03:12 PM |
Instructions for patching firmware 3.12.1 | GeoffR | Kobo Developer's Corner | 56 | 03-20-2015 06:14 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 |