View Single Post
Old 12-10-2016, 05:33 AM   #355
DoctorFouad
Junior Member
DoctorFouad began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Dec 2016
Device: Kobo Glo
Quote:
Originally Posted by tshering View Post
@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.
Again thanks a lot much appreciated, i made the mistake of patching the glo hd, instead of the aura for my glo, now that i rpatched the aura settings, things improved a lot ! the settings are just fine, you did an amazing job !
DoctorFouad is offline   Reply With Quote