View Single Post
Old 12-09-2016, 05:19 PM   #353
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
@DoctorFouad
I assume that you took the modifications for 3.16.0. I would recommand that you update your device to FW 3.19.5761, and patch it with the modifications for 3.19.5761. Anyway, I explain it now for the 3.16.0 patch (the method is basically the same for all versions.) I further assume, that you did not yet do any changes to the libnickel.so.1.0.0.txt file.

Open the file libnickel.so.1.0.0.txt and find the following passage (shown in the spoiler), change the parts marked in red colour as you see fit.
Spoiler:
Code:
<patch>
name=Dictionary (Georgia)
note=if you use this definition, disable the other Dictionary definition(s)
enabled=true
action=replace_string
position=B78C14
oldpart=* { font: %1px %2; line-height: %5em; }\n
oldpart=div.descriptionFont { font-family: %3; }\n
oldpart=ol { font-size: %1px; font-weight: bold; margin-left: %4em }\n
oldpart=ol p { font-size: %1px; font-weight:normal; }\n
oldpart=b { font-weight: bold; }\n
oldpart=i { font-style: italic; }\n
oldpart=b * { font-weight: bold; }\n
oldpart=i * { font-style: italic; }\n
oldpart=::selection { background: #FFFFFF !important; }
newpart=* { font-family: Georgia ;font-size: 32px; line-height: 36px; } \n
newpart=ol {margin-left: 8px} \n
newpart=ol p { font-size: 32px; font-weight:normal;      }
newpart=b { font-weight: bold; }\n
newpart=i { font-style: italic; }\n
newpart=b * { font-weight: bold; }\n
newpart=i * { font-style: italic;  }\n
newpart=::selection { background: #FFFFFF !important; }
combineparts
</patch>

I add the information for FW 3.19.5613.
Spoiler:


Code:
<patch>
name=Dictionary (Georgia)
note=if you use this definition, disable the other Dictionary definition(s)
enabled=true
action=replace_string
position=BD1E5C
oldpart=* { font: %1px %2; line-height: %5em; }\n
oldpart=div.descriptionFont { font-family: %3; }\n
oldpart=ol { font-size: %1px; font-weight: bold; margin-left: %4em }\n
oldpart=ol p { font-size: %1px; font-weight:normal; }\n
oldpart=b { font-weight: bold; }\n
oldpart=i { font-style: italic; }\n
oldpart=b * { font-weight: bold; }\n
oldpart=i * { font-style: italic; }\n
oldpart=img {display: inline-block; width: 1em; height: 1em; vertical-align: -10% !important; }\n
oldpart=::selection { background: #FFFFFF !important; }
if $aurahd or $h2o
    newpart=* { font-family: Georgia; font-size: 50px; line-height: 54px; } \n
    newpart=ol { margin-left: 28px; } \n
    newpart=ol p { font-size: 50px; font-weight:normal; }
else if $glo or $aura
    newpart=* { font-family: Georgia; font-size: 40px; line-height: 44px; } \n
    newpart=ol { margin-left: 24px; } \n
    newpart=ol p { font-size: 40px; font-weight:normal; }
else if $glohd
    newpart=* { font-family: Georgia; font-size: 56px; line-height: 60px; } \n
    newpart=ol { margin-left: 30px; } \n
    newpart=ol p { font-size: 56px; font-weight:normal; }
else
    newpart=* { font-family: Georgia; font-size: 32px; line-height: 36px; } \n
    newpart=ol { margin-left: 14px; } \n
    newpart=ol p { font-size: 32px; font-weight:normal; }
end
newpart=b { font-weight: bold; }\n
newpart=i { font-style: italic; }\n
newpart=b * { font-weight: bold; }\n
newpart=i * { font-style: italic;  }\n
newpart=img {display: inline-block; width: 1em; height: 1em; vertical-align: -10% !important; }\n
newpart=::selection { background: #FFFFFF !important; }
combineparts
</patch>
Start the patch process by double-clicking on 3.19.5613_aura.bat (this is for the simple Glo too!):
If you have further questions concerning the modifications for bad eyes, please post them in the modifications for bad eyes thread, in order to avoide hijacking the dictionary thread.

Last edited by tshering; 12-09-2016 at 05:31 PM.
tshering is offline   Reply With Quote