View Single Post
Old 12-11-2015, 12:33 AM   #69
drjd
The Couch Potato
drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.
 
drjd's Avatar
 
Posts: 34,509
Karma: 230999999
Join Date: Aug 2015
Device: Kobo Glo, Kobo Touch, Archos 9, Onyx Boox C67ML Carta
Quote:
Originally Posted by oren64 View Post
Patch 'Dictionary frame size'.
Multi-version 3.13.1-3.19.5613.
I increase the size of the pop-up dictionary.
It's for devices Glo, Aura, Aura Hd\H2O, Touch, Mini.

copy the file "nickel.patch" to 3.xx.x_source folder.

You can increase the height of the pop-up, by increasing the height frame in "nickel.patch" and the height text in "libnickel.so.1.0.0.patch".

pictures
1)unpatch
2)patch


libnickel.so.1.0.0.patch
Spoiler:
Code:
<Patch>
patch_name = `Dictionary frame size`
patch_enable = `yes`
# Multi-version patch: 3.13.1-3.19.5613+
#file libnickel.so.1.0.0.patch
#
find_base_address = `#dictionary {\n\tmargin-top: 10px;`
# Dictionary text margin-glo
replace_string = 004F, `margin: 25px;`, `margin: 10px;`
# Dictionary text margin-Aura hd
replace_string = 008C, `margin: 20px;`, `margin: 10px;`
# Dictionary text area size in frame-Mini
replace_string = 00A9, `min-height: 150px;`, `min-height: 260px;`
replace_string = 00BD, `max-height: 150px;`, `max-height: 260px;`
replace_string = 00D1, `min-width: 515px;`, `min-width: 520px;`
replace_string = 00E4, `max-width: 515px;`, `max-width: 520px;`
# Dictionary text area size in frame-Glo
replace_string = 0123, `min-height: 190px;`, `min-height: 320px;`
replace_string = 0137, `max-height: 190px;`, `max-height: 320px;`
replace_string = 014B, `min-width: 550px;`, `min-width: 660px;`
replace_string = 015E, `max-width: 550px;`, `max-width: 660px;`
# Dictionary text area size in frame-Aura hd
replace_string = 019C, `min-height: 235px;`, `min-height: 460px;`
replace_string = 01B0, `max-height: 235px;`, `max-height: 460px;`
replace_string = 01C4, `min-width: 930px;`, `min-width: 978px;`
replace_string = 01D7, `max-width: 930px;`, `max-width: 978px;`
#padding-top
replace_string = 01F1, `padding-top: 20px;`, `padding-top: 10px;`
#
#
find_base_address = `#footer[qApp_deviceIsPhoenix="true"] {\n\tqproperty-leftMargin: 20;\n\tqproperty-rightMargin: 20;\n\tqproperty-bottomMargin: 20;`
# Footer: Page and language font & margin in frame-Mini-Glo
replace_string = 005F, `qproperty-bottomMargin: 20;`, `qproperty-bottomMargin: 00;`
# Footer: Page and language font & margin in frame-Aura hd
replace_string = 00DC, `qproperty-bottomMargin: 25;`, `qproperty-bottomMargin: 00;`
</Patch>
Patches with similar effect have been developed by tshering, including bigger font sizes, viz., 'Modification for bad eyes'. Perhaps you may like to study them.
drjd is offline   Reply With Quote