View Single Post
Old 08-04-2020, 03:30 AM   #805
Owl_
Enthusiastic reader
Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.
 
Posts: 424
Karma: 3880485
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD,Poke2
Quote:
Originally Posted by Ntress View Post
I downloaded an English to Hebrew dictionary and when I highlight a word to translate I cannot see the definition in the popup because of the unicode language.

I downloaded CODE2000 font and change the line |Dictionary text font-family/font-size/line-height:" to "yes" but that still doesn't work.

in which line specifically should I change the Georgia font to CODE2000?
I tried something but that didn't work.

Please help !!
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

Last edited by Owl_; 08-04-2020 at 03:32 AM.
Owl_ is offline   Reply With Quote