Quote:
Originally Posted by jackie_w
I guess it was too much to hope that the problem could be solved so easily.
I suspect this is one of the many built-in fonts which can't be used in the patches. Did you already try this in the dictionary patch?:
Code:
- ReplaceString: {Offset: 54, Find: "Georgia ", Replace: "'AR UDJingxihei'", MustMatchLength: yes}
Kobo moves in mysterious ways when dealing with their built-in CJK fonts. Throughout the firmware's GUI CSS they are treated as special cases for users who set their locale to Japanese or one of the several Chinese locales.
Inside the fw file libnickel.so.1.0.0 I found human-readable strings KBJ-TsukuMin Pr6N RB and KBJ-UDKakugo Pr6N M. That's why I suggested trying them in the dictionary patch rather than the names which appear in the [Aa] font menu.
In particular, the former is actually used by another piece of dictionary CSS in libnickel.so.1.0.0 It handles styling of the pronunciation text string for each word definition in the pop-up for some (all???) of the Kobo built-in dictionaries.
-----------------------
On a more optimistic note - I have an idea which I think might work, but I can't be sure because I can't read any CJK language, nor do I have any CJK custom dictionaries or books to fully test it myself. If you want to be a guinea-pig PM me and we can take it from there. You should be able to test it on either 4.31 or 4.32 but, as all hacks come with some risk, it might be better to use your oldest least favourite Kobo ... Don't panic, I wouldn't ask you to try any hack I haven't already tried on one of my own older Kobos. On the other hand, if you're now sick of the whole thing and would prefer not to spend any more time on it, that's OK, too. 
|
'AR UDJingxihei' works perfectly on
v4.31.19086 and almost perfectly on
v4.32.19501, all my CJK text in popup sideloaded CJK dictionary can be displayed correctly, I said
almost perfectly on
v4.32.19501 on since some phonetic symbols for sideloaded English dictionaries won't be displayed correctly, but I'm ok with it. I think this
Dictionary text font-family/font-size/line-height (libnickel.so.1.0.0.yaml) can be considered fixed then (or not?).
So for
v4.32.19501, my only issue is
Un-Force user font-family in KePubs(multiple-fonts), it is not a serious issue either, it is just a small bug instead of being perfect on
v4.31.19086.