View Single Post
Old 09-09-2018, 06:16 PM   #78
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Owl_ View Post
1)Is the firmware 4.6.9995 the fastest and stablest one today?
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:
Originally Posted by Owl_ View Post
2)Does the patch `Dictionary text font-family/font-size/line-height - beta` remove totally the 4 margins? (What must I write otherwise?)
Well, this particular patch is not really about margins at all, it's about the font-family, font-size and line-height used for the dictionary definitions.

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 #####
However, there's only so much you can do because you can't change the underlying HTML structure inside the built-in Kobo dictionaries which are encrypted. I believe they use an HTML ordered list structure (<ol> and <li>'s) for the multiple definitions. <ol> and <li> tags carry a certain amount of implied default styling.
jackie_w is offline   Reply With Quote