Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-23-2022, 08:02 PM   #46
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,197
Karma: 16228558
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by codychan View Post
I'm using Un-Force user font-family in KePubs patch, and I enable Alternative 3 instead of Alternative 1 to make the multiple-font work. It has been working for a long time, I can confirm that it doesn't work for current firmware/patch.
Yes, and I've already told you in the post you quoted back at me that the above patch is working OK. I use it myself.

What is no longer working in fw 4.32 is:
  1. the font-family customisation in dictionary patch Dictionary text font-family/font-size/line-height.
  2. coding your kepub internal CSS files with a font-family name if that font has been sideloaded, i.e. it only exists in /fonts. It seems that named fonts in kepubs now must be embedded for you to see them.

    I don't know how to explain it any better than I already have done in the post you quoted back at me.
jackie_w is offline   Reply With Quote
Old 04-23-2022, 08:20 PM   #47
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,197
Karma: 16228558
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by codychan View Post
I'm using Dictionary text font-family/font-size/line-height (libnickel.so.1.0.0.yaml), I only need to enable it, and the font in my popup sideloaded dictionary works in in prev-v4.32.19501, but it doesn't work for v4.32.19501, and I tried to uncomment
```
# - ReplaceString: {Offset: 54, Find: "Georgia ", Replace: "sans-serif", MustMatchLength: yes}
```

Or replace sans-serif with my sideloaded font, it doesn't work either, some characters won't be displayed in it.
Sorry, hadn't seen this before I replied to your previous post. As I've tried to explain in the post you quoted back at me, *none* of the patches with options to customise font-family work like they did pre-4.32.

The font names you can patch *to* is very limited. I don't think customising to any sideloaded font will work in patches and many of the built-in fonts won't work in patch customisations either.

The following works in patch Dictionary text font-family/font-size/line-height, but all it does is display your dictionary pop-ups in font 'Avenir Next' rather than font 'Georgia'. It's of limited use.
Code:
  - ReplaceString: {Offset: 54, Find: "Georgia   ", Replace: "sans-serif", MustMatchLength: yes}
What font do you want to use to display your dictionary pop-ups?

Last edited by jackie_w; 04-23-2022 at 08:23 PM. Reason: missed a bit out
jackie_w is offline   Reply With Quote
Advert
Old 04-23-2022, 08:52 PM   #48
codychan
Groupie
codychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud of
 
codychan's Avatar
 
Posts: 159
Karma: 27950
Join Date: Nov 2018
Device: Kobo Aura One, Kobo Forma
Quote:
Originally Posted by jackie_w View Post
Sorry, hadn't seen this before I replied to your previous post. As I've tried to explain in the post you quoted back at me, *none* of the patches with options to customise font-family work like they did pre-4.32.

The font names you can patch *to* is very limited. I don't think customising to any sideloaded font will work in patches and many of the built-in fonts won't work in patch customisations either.

The following works in patch Dictionary text font-family/font-size/line-height, but all it does is display your dictionary pop-ups in font 'Avenir Next' rather than font 'Georgia'. It's of limited use.
Code:
  - ReplaceString: {Offset: 54, Find: "Georgia   ", Replace: "sans-serif", MustMatchLength: yes}
What font do you want to use to display your dictionary pop-ups?
CJK fonts, it's OK, thanks. I'll keep using `4.31.19086` instead, just wait and see if it will be fixed in the future firmware.
codychan is offline   Reply With Quote
Old 04-23-2022, 09:03 PM   #49
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,197
Karma: 16228558
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by codychan View Post
CJK fonts, it's OK, thanks. I'll keep using `4.31.19086` instead, just wait and see if it will be fixed in the future firmware.
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.
jackie_w is offline   Reply With Quote
Old 04-23-2022, 11:07 PM   #50
codychan
Groupie
codychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud of
 
codychan's Avatar
 
Posts: 159
Karma: 27950
Join Date: Nov 2018
Device: Kobo Aura One, Kobo Forma
Quote:
Originally Posted by jackie_w View Post
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 ???
codychan is offline   Reply With Quote
Advert
Old 04-24-2022, 12:10 AM   #51
konstantinus
Connoisseur
konstantinus began at the beginning.
 
Posts: 54
Karma: 10
Join Date: May 2018
Device: Kobo Glo HD, Kobo Forma
Quote:
Originally Posted by jackie_w View Post
I don't understand exactly what you're trying to say. Can you rephrase with more details, please?
Prior to 4.32, I specified the fonts set in /fonts (several fonts for text, dropcaps, etc.) in the book's CSS file, left them in the Publisher Default font settings, and could use Advanced to fine-tune the body text font. In 4.32 there are two options:
1. Publisher Default, when all built-in fonts are used that cannot be adjusted by Advanced;
2. Fonts from /fonts, which can be adjusted, but one font is used for the book.
konstantinus is offline   Reply With Quote
Old 04-24-2022, 09:43 AM   #52
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,197
Karma: 16228558
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by codychan View Post
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.
I guess it was too much to hope that the problem could be solved so easily.

Quote:
Originally Posted by codychan View Post
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'
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}

Quote:
Originally Posted by codychan View Post
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.
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.
jackie_w is offline   Reply With Quote
Old 04-24-2022, 10:11 AM   #53
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,197
Karma: 16228558
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by konstantinus View Post
Prior to 4.32, I specified the fonts set in /fonts (several fonts for text, dropcaps, etc.) in the book's CSS file, left them in the Publisher Default font settings, and could use Advanced to fine-tune the body text font. In 4.32 there are two options:
1. Publisher Default, when all built-in fonts are used that cannot be adjusted by Advanced;
2. Fonts from /fonts, which can be adjusted, but one font is used for the book.
I'm still not sure what problem is bothering you. You talk about "using Advanced to fine-tune the body text font". Does this mean you're having problems setting font weight? That's the only reason I've ever had to press the [Advanced] button. If so, whatever problem exists is nothing to do with kobopatch. I don't know what is expected behaviour (in 4.32 or any previous fw) if the selected font is 'Publisher Default' when you press [Advanced].

Or are you reporting a different problem related to reading kepubs and what happens when you select a new font from the [Aa] font menu? If so, what has the [Advanced] button got to do with it?

We don't seem to be getting anywhere with words, perhaps some screenshots, test book, sample HTML/CSS to illustrate your problem would help? Or if I'm being incredibly dense maybe someone else could chip in with an assessment of what problem is being reported here.

Last edited by jackie_w; 04-24-2022 at 10:13 AM.
jackie_w is offline   Reply With Quote
Old 04-24-2022, 03:35 PM   #54
KaizaCorp
Enthusiast
KaizaCorp began at the beginning.
 
KaizaCorp's Avatar
 
Posts: 26
Karma: 10
Join Date: Oct 2020
Location: Saskatoon, SK, Canada
Device: Kobo Clara HD
Are there particular fonts that are better suited to testing the optimizeLegibility setting? I've been trying it out with CharInk and it adds some odd/uneccesary spacing for words sometimes (which ironically makes it less legible for me.)

e.g. "been" appearing as "b e e n" (spacing exaggerated but I can post some pictures if this is not clear.)

I was wondering if this is something due to embedded styles in the particular book I was reading? Or ligatures/kerning not playing nice with CharInk? Or something else?
KaizaCorp is offline   Reply With Quote
Old 04-24-2022, 05:24 PM   #55
codychan
Groupie
codychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud of
 
codychan's Avatar
 
Posts: 159
Karma: 27950
Join Date: Nov 2018
Device: Kobo Aura One, Kobo Forma
Quote:
Originally Posted by jackie_w View Post
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.

Last edited by codychan; 04-24-2022 at 05:27 PM.
codychan is offline   Reply With Quote
Old 04-24-2022, 05:40 PM   #56
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 10,031
Karma: 224450762
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by KaizaCorp View Post
Are there particular fonts that are better suited to testing the optimizeLegibility setting? I've been trying it out with CharInk and it adds some odd/uneccesary spacing for words sometimes (which ironically makes it less legible for me.)

e.g. "been" appearing as "b e e n" (spacing exaggerated but I can post some pictures if this is not clear.)

I was wondering if this is something due to embedded styles in the particular book I was reading? Or ligatures/kerning not playing nice with CharInk? Or something else?
Kerning doesn't play very well with justified text and kepubs. You could try with left-aligned text.
Sirtel is offline   Reply With Quote
Old 04-24-2022, 05:49 PM   #57
MGlitch
Wizard
MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.
 
Posts: 2,840
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
Quote:
Originally Posted by KaizaCorp View Post
Are there particular fonts that are better suited to testing the optimizeLegibility setting? I've been trying it out with CharInk and it adds some odd/uneccesary spacing for words sometimes (which ironically makes it less legible for me.)

e.g. "been" appearing as "b e e n" (spacing exaggerated but I can post some pictures if this is not clear.)

I was wondering if this is something due to embedded styles in the particular book I was reading? Or ligatures/kerning not playing nice with CharInk? Or something else?
Try Bookerly, I’ve been using it with the optimize legibility option and I’ve not seen anything too bad so far. Occasionally bigger spaces between words, but I’ve not noticed increased spacing within words. I’ve also installed Jon’s hyphenation dictionary which I believe may contribute as well.
MGlitch is offline   Reply With Quote
Old 04-24-2022, 06:13 PM   #58
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,197
Karma: 16228558
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by codychan View Post
'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?).
OK, well that's a pleasant surprise!

If you change your mind and decide you'd rather pursue a bigger hack to use Code2000.ttf as your CJK dictionary font let me know via PM. I don't want to post instructions here until I know it definitely works without side-effects in fw4.32.

Quote:
Originally Posted by codychan View Post
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.
Now, this I have a problem with. This patch (option 3) works as well as it's always worked for me. I can't fix what I can't see. You're going to need to provide more evidence, such as a test epub/kepub or sample HTML/CSS and some screenshots to demo the problem.

Last edited by jackie_w; 04-24-2022 at 06:19 PM. Reason: typo
jackie_w is offline   Reply With Quote
Old 04-24-2022, 06:28 PM   #59
KaizaCorp
Enthusiast
KaizaCorp began at the beginning.
 
KaizaCorp's Avatar
 
Posts: 26
Karma: 10
Join Date: Oct 2020
Location: Saskatoon, SK, Canada
Device: Kobo Clara HD
Quote:
Originally Posted by MGlitch View Post
Try Bookerly, I’ve been using it with the optimize legibility option and I’ve not seen anything too bad so far. Occasionally bigger spaces between words, but I’ve not noticed increased spacing within words. I’ve also installed Jon’s hyphenation dictionary which I believe may contribute as well.
I'm totally fine with some bigger spaces between words, it's the spaces between letters that get me. I noticed it a bit with my version of Bookerly (from GoodReader I think?), but I'll try the hyphenation dictionary! Thanks.

Last edited by KaizaCorp; 04-24-2022 at 06:31 PM.
KaizaCorp is offline   Reply With Quote
Old 04-24-2022, 07:05 PM   #60
MGlitch
Wizard
MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.
 
Posts: 2,840
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
Quote:
Originally Posted by KaizaCorp View Post
I'm totally fine with some bigger spaces between words, it's the spaces between letters that get me. I noticed it a bit with my version of Bookerly (from GoodReader I think?), but I'll try the hyphenation dictionary! Thanks.
There's also a font pack from Amazon which includes Bookerly ( https://developer.amazon.com/en-US/a...nes/typography ), though I don't know what version is in the pack vs what version is "current". It also does require some tinkering in Fontforge instructions for that here: https://www.mobileread.com/forums/sh...81&postcount=9 in order for italic to show properly (as is it'll show as bold italic).

If you REALLY don't want to use fontforge you could also opt to just not install the bold italic version of Bookerly, this SHOULD force the use of the italic version though I can't say for sure if this will work after all the changes in font handling 4.32 brought. Though I'd also say fontforge isn't scary, just follow the linked guide, easy peasy.
MGlitch is offline   Reply With Quote
Reply

Tags
kobopatch, patch, patch32lsb, patches, patching

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Instructions for patching firmware 3.18.0 GeoffR Kobo Developer's Corner 151 10-21-2016 06:15 AM
Instructions for patching firmware 3.17.3 GeoffR Kobo Developer's Corner 60 09-17-2015 05:35 PM
Instructions for patching firmware 3.16.10 GeoffR Kobo Developer's Corner 12 08-14-2015 03:40 AM
Instructions for patching firmware 3.12.0 GeoffR Kobo Developer's Corner 165 02-07-2015 09:22 AM
Instructions for patching firmware 3.3.x, 3.4.x, 3.5.x GeoffR Kobo Developer's Corner 285 08-27-2014 10:06 AM


All times are GMT -4. The time now is 08:29 AM.


MobileRead.com is a privately owned, operated and funded community.