View Single Post
Old 08-04-2020, 10:53 AM   #806
Ntress
Member
Ntress began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Dec 2019
Device: Kobo Clara HD
Quote:
Originally Posted by Owl_ View Post
Find inside the libnickel.so.1.0.0.yaml file the patch named Dictionary text font-family/font-size/line-height - beta. Inside that find these lines:

# Examples for customising font-family:
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "sans-serif", MustMatchLength: yes}
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "\"Gill Sans\"", MustMatchLength: yes}
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "\"Kobo Nickel\"", MustMatchLength: yes}
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "Bookerly", MustMatchLength: yes}

The elements that I put in blue must be changed as follows here in red (note that you must replace the # with a white space):

# Examples for customising font-family:
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "sans-serif", MustMatchLength: yes}
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "\"Gill Sans\"", MustMatchLength: yes}
# - ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "\"Kobo Nickel\"", MustMatchLength: yes}
- ReplaceString: {Offset: 0x36, Find: "Georgia ", Replace: "CODE2000", MustMatchLength: yes}

Enable the patch typing "yes"


tell me if you have issues
This is exactly what I did before asking

- ReplaceString: {Offset: 54, Find: "Georgia ", Replace: "CODE2000", MustMatchLength: yes}

only the Offset is different here.
Still not working.
Ntress is offline   Reply With Quote