Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 04-30-2024, 03:53 PM   #31
jospalau
Groupie
jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.
 
Posts: 180
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
I get most of my books from Amazon and convert them to epub.

This time I tried with an epub I downloaded from Standard Ebooks (I found this site in this forum).

They render the chapter header differently. I checked Calibre and it renders it the same way than KOReader:

Does the stock kernel ignores font-variant: small-caps;?
Why I is cursive? It should be bold according to the styles
It also ignores some other margin stuff.


I know you always clean the epubs to make them look like you want, so you can tell me what is going here.

Click image for larger version

Name:	result.png
Views:	51
Size:	315.0 KB
ID:	207945
jospalau is offline   Reply With Quote
Old 04-30-2024, 04:07 PM   #32
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,199
Karma: 129333564
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jospalau View Post
I get most of my books from Amazon and convert them to epub.

This time I tried with an epub I downloaded from Standard Ebooks (I found this site in this forum).

They render the chapter header differently. I checked Calibre and it renders it the same way than KOReader:

Does the stock kernel ignores font-variant: small-caps;?
Why I is cursive? It should be bold according to the styles
It also ignores some other margin stuff.


I know you always clean the epubs to make them look like you want, so you can tell me what is going here.

Attachment 207945
The ePub reading software is an older version of RMSDK that doesn't do ePub 3 all that well. small-caps is not supported.

Please get an ePub from the MR library. ePub from StandardEbooks do not always work well with RMSDK on a Kobo. So the results can be different from ePub via RMSDK and ePub via KOReader.

Try this one as I did the formatting and I know it will work well on both RMSDK and KOReader. https://www.mobileread.com/forums/sh...d.php?t=177182

Last edited by JSWolf; 04-30-2024 at 04:11 PM.
JSWolf is online now   Reply With Quote
Old 04-30-2024, 04:33 PM   #33
jospalau
Groupie
jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.
 
Posts: 180
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
Understood.

There you are.
Click image for larger version

Name:	result.png
Views:	60
Size:	434.4 KB
ID:	207948
jospalau is offline   Reply With Quote
Old 04-30-2024, 05:03 PM   #34
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,199
Karma: 129333564
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jospalau View Post
Understood.

There you are.
Attachment 207948
This is very interesting. I don't think I'd know any difference looking at one or the other. But together, you do see that KOReader can use a smaller space and/or some tighter kerning.
JSWolf is online now   Reply With Quote
Old 05-01-2024, 12:39 PM   #35
jospalau
Groupie
jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.jospalau ought to be getting tired of karma fortunes by now.
 
Posts: 180
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
Quote:
Originally Posted by JSWolf View Post
This is very interesting. I don't think I'd know any difference looking at one or the other. But together, you do see that KOReader can use a smaller space and/or some tighter kerning.
I agree

Sent from my 22081212UG using Tapatalk
jospalau is offline   Reply With Quote
Old Yesterday, 03:56 PM   #36
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,479
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
As was mentioned earlier, KOReader implements a tiny subset of micro-typography magic to contract/expand inter-word ("Word Spacing" in the settings) and inter-letter ("Word Expansion") whitespace.

That's in addition to using a modern harfbuzz, which should yield proper (or at least, "as intended by the font foundry") kerning. Where you might see larger divergences in terms of kerning are outside of LGC, for complex scripts that only fairly recently got better support in harfbuzz.

That's not to say I wouldn't expect *any* kerning differences even on LGC, simply because text rendering is *hard*, and everyone kind of does its own thing, so unless you *know* the stack is *also* FT + HB, you're kind of comparing apples to oranges (which is not always uninteresting in this context, mind you ). (spoiler alert: I'm not sure anything actually uses FT + HB outside of the Qt UI on Nickel, RMSDK does its own thing, and Access is using Monotype's iType font engine)

On that front, Adobe tends to do its own thing (and to do it rather well, I might add. It's been a while, but I distinctly remember Acrobat Reader being something that rendered text exceedingly well, even on low DPI screens (i.e., an LCD monitor), even on systems with *very* opinionated native font rendering (i.e., macOS and Windows).

I also vaguely remember that you had to be very persistent to get one or both of these to handle kerning properly, at the expense of possible rendering bugs (the whole prefer-speed or prefer-legibility css property or something. Might be only for Access, though).

Last edited by NiLuJe; Yesterday at 04:06 PM.
NiLuJe is offline   Reply With Quote
Old Yesterday, 04:18 PM   #37
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,199
Karma: 129333564
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by NiLuJe View Post
As was mentioned earlier, KOReader implements a tiny subset of micro-typography magic to contract/expand inter-word ("Word Spacing" in the settings) and inter-letter ("Word Expansion") whitespace.

That's in addition to using a modern harfbuzz, which should yield proper (or at least, "as intended by the font foundry") kerning. Where you might see larger divergences in terms of kerning are outside of LGC, for complex scripts that only fairly recently got better support in harfbuzz.

That's not to say I wouldn't expect *any* kerning differences even on LGC, simply because text rendering is *hard*, and everyone kind of does its own thing, so unless you *know* the stack is *also* FT + HB, you're kind of comparing apples to oranges (which is not always uninteresting in this context, mind you ). (spoiler alert: I'm not sure anything actually uses FT + HB outside of the Qt UI on Nickel, RMSDK does its own thing, and Access is using Monotype's iType font engine)

On that front, Adobe tends to do its own thing (and to do it rather well, I might add. It's been a while, but I distinctly remember Acrobat Reader being something that rendered text exceedingly well, even on low DPI screens (i.e., an LCD monitor), even on systems with *very* opinionated native font rendering (i.e., macOS and Windows).

I also vaguely remember that you had to be very persistent to get one or both of these to handle kerning properly, at the expense of possible rendering bugs (the whole prefer-speed or prefer-legibility css property or something. Might be only for Access, though).
Yes, that is only for Access.
JSWolf is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo stock reader not honouring styles? jospalau Kobo Reader 6 09-30-2023 11:07 AM
Libra KOReader merits compared to stock reader carmik Kobo Reader 60 05-28-2022 10:49 AM
Kobo Order of In Stock e-reader. Josieb1 Kobo Reader 22 12-04-2021 10:12 PM
Errors with EPUB rendering on Kobo Aura H2O running koreader-stable-v2015.11 algernonramone KOReader 8 03-16-2016 12:55 AM
[Koreader] Rendering problem on KPW2 natto Kindle Developer's Corner 1 04-10-2014 10:42 AM


All times are GMT -4. The time now is 07:41 PM.


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