09-09-2018, 04:01 PM | #76 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
|
|
09-09-2018, 05:07 PM | #77 | |
Enthusiastic reader
Posts: 423
Karma: 3880485
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD,Poke2
|
Quote:
1)Is the firmware 4.6.9995 the fastest and stablest one today? 2)Does the patch `Dictionary text font-family/font-size/line-height - beta` remove totally the 4 margins? (What must I write otherwise?) 3)Can I edit the abovementioned patch in order to obtain something like this in the popup window of my dictionary? Example: entry1definition1definition1definition1definition1defini tion1definition1definition1definition1definition1d efinition1definition1definition1definition1definit ion1definition1definition1definition1 entry2definition2definition2definition2definition2defini tion2definition2definition2definition2definition2d efinition2definition2definition2definition2definit ion2 entry3definition3definition3definition3definition3defini tion3definition3definition3definition3definition3d efinition3definition3definition3definition3definit ion3definition3definition3definition3definition3de finition3definition3definition3definition3definiti on3definition3definition3definition3 entry4definition4definition4definition4definition4defini tion4 entry5definition5definition5definition5definition5defini tion5definition5definition5definition5definition5d efinition5definition5definition5definition5definit ion5 |
|
Advert | |
|
09-09-2018, 06:16 PM | #78 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Speed and stability is in the eye of the beholder. I can't really comment. But 4.6.9995 is almost a year old and there have been many later releases.
Quote:
However, if you want to experiment yourself, and you know what you're doing, you could customise the base patch to see if you like it better. Change where I've highlighted in red from 1em to 0px. You must not change the length of the old and new strings. Code:
# ##### N.B. Do not change the next 2 lines #####
find_base_address = `* { font: %1px %2; line-height: %5em; }`
replace_string = 0000, `* { font: %1px %2; line-height: %5em; }\ndiv.descriptionFont { font-family: %3; }\nol { font-size: %1px; font-weight: bold; margin-left: %4em; margin-top: 0px; }\nol p { font-size: %1px; font-weight:normal; }\n`, `* { font-size: 40px; line-height: 1.4em; font-family: Georgia ;}\n \nol { margin-left: 1em; margin-top: 0px; }\nol p { font-size: 1em; font-weight:normal; }\n`
# ##### N.B. Do not change anything above this line #####
|
|
09-10-2018, 03:35 AM | #79 | |
Enthusiastic reader
Posts: 423
Karma: 3880485
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD,Poke2
|
Quote:
|
|
01-04-2019, 10:07 AM | #80 |
Connoisseur
Posts: 83
Karma: 15734
Join Date: Dec 2016
Device: Scribe,Elipsa,PWSE,FORMA,KOA2,KV,KA1, KAH2O, PW1-4, KA, AKT,
|
any dictionary font patch for 4.12.12111? thanks.
|
Advert | |
|
01-04-2019, 03:51 PM | #81 |
Wizard
Posts: 2,786
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Yes (https://github.com/geek1011/kobopatc...ckie_w.yaml#L2), it's been there for quite a while.
|
01-05-2019, 05:36 AM | #82 |
absolute beginner
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
|
@Owl_
If you're still interested in list style, you can test this nickel patch. Spoiler:
NOTE: Set the margin for each side of an element (top, right, bottom, and left) into Replace. Good luck. EDIT: Warning: Obviously, I didn't probe it on 4.4.9298 but I think this piece doesn't changed. EDIT²: Read the next post. Last edited by jcn363; 01-05-2019 at 10:28 AM. Reason: EDIT² |
01-05-2019, 08:21 AM | #83 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
The 'Dictionary text font-family/font-size/line-height - beta' (for libnickel.so.1.0.0) has been a part of the standard patch pack for a long time. I have the responsibility for maintaining it. Why are you rewriting it?
If you think you've got some good ideas how to improve it then the polite thing to do would be to discuss it with me in one of the patch threads. If appropriate, I can then incorporate any improvements into the standard pack. However, in this particular case, the code you highlighted in red is already part of the standard patch. What are you hoping to achieve? IMHO rewriting someone else's patch without reference to the original is extremely rude and it's not the first time you've done something similar. We already have enough problems with conflicting patches without you making it worse. |
01-05-2019, 10:02 AM | #84 |
Connoisseur
Posts: 83
Karma: 15734
Join Date: Dec 2016
Device: Scribe,Elipsa,PWSE,FORMA,KOA2,KV,KA1, KAH2O, PW1-4, KA, AKT,
|
is there a simple way that i could just replace kobo's system font with a MS font which has all set of various language characters by just copy MS font to Kobo and rename it with system default font name?
|
01-05-2019, 10:04 AM | #85 |
absolute beginner
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
|
Sorry, it was not my intention to rewrite, just an indication in red, for a particular purpose: list margin (Owl_ wanted to change).
Good luck. Last edited by jcn363; 01-05-2019 at 10:18 AM. |
01-23-2019, 06:42 AM | #86 | |
Enthusiastic reader
Posts: 423
Karma: 3880485
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD,Poke2
|
Quote:
Could you write what I can paste? many thanks |
|
01-24-2019, 10:04 AM | #87 | |
absolute beginner
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
|
Quote:
You only have to copy the desired patch in your nickel.yaml, put the values you want and enable it. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Instructions for patching firmware 3.17.3 | GeoffR | Kobo Developer's Corner | 60 | 09-17-2015 05:35 PM |
Instructions for patching firmware 3.17.0 | GeoffR | Kobo Developer's Corner | 49 | 08-16-2015 05:20 AM |
Instructions for patching firmware 3.16.10 | GeoffR | Kobo Developer's Corner | 12 | 08-14-2015 03:40 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 |