Originally Posted by jackie_w
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.
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.
|