Quote:
Originally Posted by jackie_w
For the dictionary patch, you could try customising font-family to one of the built-in CJK fonts? e.g.
Code:
- ReplaceString: {Offset: 54, Find: "Georgia ", Replace: "'KBJ-TsukuMin Pr6N RB'", MustMatchLength: yes}
or
Code:
- ReplaceString: {Offset: 54, Find: "Georgia ", Replace: "'KBJ-UDKakugo Pr6N M'", MustMatchLength: yes}
Even if you've already rolled back to fw 4.31 you could still test either of the above to see whether your CJK dictionary displays OK. If the patch does work in 4.31 it will probably also work in 4.32.
|
Thanks. I tried both fonts in both firmwares.
On
v4.31.19086 firmware:
'KBJ-TsukuMin Pr6N RB' is Japanese font, it lacks some characters for CK books, so the text in the popup dictionary for my books will be displayed with two mixed fonts (
'KBJ-TsukuMin Pr6N RB', and `fallback font (Kakugo, I think)`)
'KBJ-UDKakugo Pr6N M' is apparently Japanese font as well, and it is even worse, it removes the characters and the spaces for the characters like there are no characters in those positions at all.
There is another CJK font
ub_arudjingxihei.ttf, and I don't know what the string should I use, I tried
'ub arudjingxihei' but it doesn't work as expected, it is the same result as
'KBJ-TsukuMin Pr6N RB'
On
v4.32.19501 firmware, above two different fonts act basically the same,
'KBJ-TsukuMin Pr6N RB' and
'KBJ-UDKakugo Pr6N M' both remove the spaces like
'KBJ-UDKakugo Pr6N M' on
v4.31.19086, font styles/families are different of course.
BTW: Another thing about the string for the font you are using, I thought it should be the name from the
Aa drop list (which I thought it is the string from the font family in the font manager), take one font as example, the name for
KBJ-TsukuMin Pr6N RB is
Kobo TsuKkushi Mincho from Kobo
Aa drop list, but the font file name from the firmware path is
KBJ-TsukuMinPr6N-RB.ttf, so I'm confused, I don't know where
KBJ-TsukuMin Pr6N RB which contains spaces is coming from.
Quote:
KBJ-TsukuMinPr6N-RB.ttf -> 'Kobo Tsukushi Mincho' in Aa -> 'KBJ-TsukuMin Pr6N RB' used in patch
KBJ-UDKakugoPr6N-M.ttf -> 'Kobo UD Kakugo' in Aa -> 'KBJ-UDKakugo Pr6N M' used in patch
ub_arudjingxihei.ttf -> 'AR UDJingxihei' in Aa -> 'ub arudjingxihei' is wrong ???
|