Changeset 15818 in niluje


Ignore:
Timestamp:
Mar 9, 2019, 7:05:14 PM (2 months ago)
Author:
NiLuJe
Message:

Start playing w/ custom dictionaries

Location:
Configs/trunk/Kindle/Kobo_Hacks/Patches
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Configs/trunk/Kindle/Kobo_Hacks/Patches/autopatch.sh

    r15657 r15818  
    9090        sed -re 's/  - ReplaceInt: \{Offset: 0x([a-fA-F0-9]{6}), Find: 1, Replace: 44\}/  - ReplaceInt: \{Offset: 0x\1, Find: 1, Replace: 11\}/' -i src/libnickel.so.1.0.0.yaml
    9191fi
     92# As well as generic tweaks for the 'Dictionary text font-family/font-size/line-height - beta' patch
     93sed -e 's/# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "Bookerly", MustMatchLength: yes}/  - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "Bookerly", MustMatchLength: yes}/' -i src/libnickel.so.1.0.0.yaml
     94#sed -e 's/# - ReplaceString: {Offset: 0x0F, Find: "40px", Replace: "30px", MustMatchLength: yes}/  - ReplaceString: {Offset: 0x0F, Find: "40px", Replace: "30px", MustMatchLength: yes}/' -i src/libnickel.so.1.0.0.yaml
     95#sed -e 's/# - ReplaceString: {Offset: 0x22, Find: "1.4", Replace: "1.3", MustMatchLength: yes}/  - ReplaceString: {Offset: 0x22, Find: "1.4", Replace: "1.3", MustMatchLength: yes}/' -i src/libnickel.so.1.0.0.yaml
    9296patched_md5="$(md5sum src/libnickel.so.1.0.0.yaml | awk '{print $1}')"
    9397if [[ "${patched_md5}" == "${orig_md5}" ]] ; then
  • Configs/trunk/Kindle/Kobo_Hacks/Patches/kobopatch.cfg

    r15657 r15818  
    2525    Fix three KePub fullScreenReading bugs: no
    2626    Always display chapter name on navigation menu: yes
     27    Allow searches on Extra dictionaries: yes
     28    Dictionary text font-family/font-size/line-height - beta: yes
    2729    Dictionary, remove long winded closest match notification: yes
    2830    Set reading footer height: no
Note: See TracChangeset for help on using the changeset viewer.