Quote:
Originally Posted by jackie_w
The dictionary patch Dictionary text font-family/font-size/line-height - in libnickel.so.1.0.0.yaml - needed a small adjustment for fw 4.38.21908.
Although the change is related to dictionary font-family, it will affect anyone who uses this patch. So, anyone who has stored their own customised version of the patch will need to take a fresh copy before re-applying their customisations.
Compare your old customisations with the commented-out examples at the end of the patch to see whether you'll need to tweak your custom code.
|
My device is GloHD running firmware 4.38.21908.
I am trying to add a font for the custom built English-Malayalam language dictionary, which I have been using for few years. I tried two sideloaded fonts but couldn't make it work.
Code:
# Un-comment ONE ONLY of the following 4 ReplaceString examples
#- ReplaceString: {Offset: 54, Find: "%4, serif ", Replace: "sans-serif", MustMatchLength: yes}
#- ReplaceString: {Offset: 54, Find: "%4, serif ", Replace: "'KBJ-TsukuMin Pr6N RB'", MustMatchLength: yes}
#- ReplaceString: {Offset: 54, Find: "%4, serif ", Replace: "'KBJ-TsukuMin Pr6N RB'", MustMatchLength: yes}
#- ReplaceString: {Offset: 54, Find: "%4, serif ", Replace: "'KBJ-UDKakugo Pr6N M'", MustMatchLength: yes}
#- ReplaceString: {Offset: 54, Find: "%4, serif ", Replace: "'AR UDJingxihei'", MustMatchLength: yes}
#- ReplaceString: {Offset: 54, Find: "%4, serif ", Replace: "Keraleeyam", MustMatchLength: yes}
- ReplaceString: {Offset: 54, Find: "%4, serif ", Replace: "'Noto Sans Malayalam'", MustMatchLength: yes}
The dictionary displays proper Malayalam text if I change the book font to any of the sideloaded Malayalam unicode font.
Any advice, please?