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-12-2024, 05:59 AM   #1
mistle
Member
mistle began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Apr 2024
Device: Libra 2
Any way to disable font hinting in stock reader?

I noticed in Koreader, if I change font hinting to "off" or "native" (same result), the text renders beautifully. If I leave it on Auto (which applies hinting), the fonts appear misaligned especially along the bottom. Some letters higher than others etc.

This is also exactly how they are rendered in the stock reader, leading me to believe it's also applying auto hinting. I much prefer using the stock reader, but now that I've seen how much better text can look in Koreader, I can't go back!

Is there a way I can turn it off in the stock reader?

This post seems to suggest I can edit the Kobo stylesheet, but I couldn't figure out how to do that haha
mistle is offline   Reply With Quote
Old 04-12-2024, 12:12 PM   #2
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: 76,491
Karma: 136564766
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 mistle View Post
I noticed in Koreader, if I change font hinting to "off" or "native" (same result), the text renders beautifully. If I leave it on Auto (which applies hinting), the fonts appear misaligned especially along the bottom. Some letters higher than others etc.

This is also exactly how they are rendered in the stock reader, leading me to believe it's also applying auto hinting. I much prefer using the stock reader, but now that I've seen how much better text can look in Koreader, I can't go back!

Is there a way I can turn it off in the stock reader?

This post seems to suggest I can edit the Kobo stylesheet, but I couldn't figure out how to do that haha
Which firmware are you running and what font are you using? If the font hinted? I find that it doesn't matter if the font is hinted or not.
JSWolf is offline   Reply With Quote
Advert
Old 04-12-2024, 04:33 PM   #3
mistle
Member
mistle began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Apr 2024
Device: Libra 2
Quote:
Originally Posted by JSWolf View Post
Which firmware are you running and what font are you using? If the font hinted? I find that it doesn't matter if the font is hinted or not.
I’m using the latest firmware (not including the one that just dropped yesterday).

I find pretty much every font I try looks better in Koreader with hinting off, but as an example I use EB Garamond Absinthe, Crimson Pro, ChareInk, Goudy Old Style etc.

I’ve tried stripping all hinting using FontForge. It’s no use, as Kobo will force autohinting to all unhinted fonts and mess them up. So in a way yes it doesn’t matter if the font is hinted or not- in the stock reader it’s forced on.

I can take some screenshots if necessary. But really all one needs to do to see the difference is turn them on/off in Koreader and see how much more even they render when turned off. When turned on, they become ”wobbly”, and look identical to Kobo’s stock reader.
mistle is offline   Reply With Quote
Old 04-12-2024, 05:57 PM   #4
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 12,378
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
I've never seen "wobbly" fonts in Kobo's ADE or Kepub renderers, nor on KOReader (Elipsa for a while and also the Likebook Mars). I also don't think KOReader looks better.
Quoth is offline   Reply With Quote
Old 04-12-2024, 06:08 PM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,603
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I tried KOReader, Plato, RMSDK and the WebKit based renderer used for kepubs and did not see any "wobbly' looking fonts at the font size I normally use when reading.
DNSB is offline   Reply With Quote
Advert
Old 04-12-2024, 07:13 PM   #6
mistle
Member
mistle began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Apr 2024
Device: Libra 2
I’ll get some screenshots as soon as I’m able.
mistle is offline   Reply With Quote
Old 04-12-2024, 08:02 PM   #7
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,603
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
The first 3 are from KOReader, the last is from Nickel, all running on a Clara HD. The font is ChareInk.
Attached Thumbnails
Click image for larger version

Name:	Reader_2024-04-12_154715.png
Views:	215
Size:	87.4 KB
ID:	207540   Click image for larger version

Name:	Reader_2024-04-12_154733.png
Views:	202
Size:	86.5 KB
ID:	207541   Click image for larger version

Name:	Reader_2024-04-12_154810.png
Views:	189
Size:	87.0 KB
ID:	207542   Click image for larger version

Name:	screen_001.png
Views:	189
Size:	91.5 KB
ID:	207543  

Last edited by DNSB; 04-12-2024 at 09:12 PM. Reason: Added image from Nickel on Clara HD.
DNSB is offline   Reply With Quote
Old 04-12-2024, 08:12 PM   #8
mistle
Member
mistle began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Apr 2024
Device: Libra 2
Quote:
Originally Posted by DNSB View Post
I tried KOReader, Plato, RMSDK and the WebKit based renderer used for kepubs and did not see any "wobbly' looking fonts at the font size I normally use when reading.
Quote:
Originally Posted by Quoth View Post
I've never seen "wobbly" fonts in Kobo's ADE or Kepub renderers, nor on KOReader (Elipsa for a while and also the Likebook Mars). I also don't think KOReader looks better.
I made a gif: https://i.imgur.com/gKyvnid.gif


(font is EB Garamond Absinthe, but I get similar results with many other fonts also)

Notice how the "u" raises up above the top of the neighboring "o" and "s". The cross on the "t" and "f" do the same.

Along the bottom, the "f" and "h" appear to stick out lower. This is actually an optical illusion caused by the bad autohinting, where any of the letters with rounded bottoms are pixel-perfectly aligned to the bottom line. Whereas with no hints, they stick out ever so slightly below, which is the correct way to align rounded characters. To the human eye it appears correct. This is how printed text in a book behaves.

You can also see it messed up the serifs a little, have a look at how it flattens out the serif on the left stem of the "u", and the bottoms of "h" and "f".

--

I know this is subtle and perhaps nitpicky for most people, but hey we're staring at these words for hours on end. In the context of reading a whole page, all these inconsistencies sorta mesh together and make the text overall look "wonky" and misaligned.

I'm thankful I can have beautiful, print-like text in Koreader. But I really wish it was possible for Kobo to natively, y'know, render beautiful print-like text. It's kind of the one thing I expected it to do.

If anyone knows a way to get these results on the stock reader I'd be eternally thankful

Last edited by mistle; 04-12-2024 at 08:14 PM.
mistle is offline   Reply With Quote
Old 04-13-2024, 07:27 AM   #9
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: 76,491
Karma: 136564766
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 mistle View Post
I noticed in Koreader, if I change font hinting to "off" or "native" (same result), the text renders beautifully. If I leave it on Auto (which applies hinting), the fonts appear misaligned especially along the bottom. Some letters higher than others etc.

This is also exactly how they are rendered in the stock reader, leading me to believe it's also applying auto hinting. I much prefer using the stock reader, but now that I've seen how much better text can look in Koreader, I can't go back!

Is there a way I can turn it off in the stock reader?

This post seems to suggest I can edit the Kobo stylesheet, but I couldn't figure out how to do that haha
Can you please do me a favor and try ChareInk6SP and see what you get? This is what I use and it works for me. It is hinted. Maybe KOReader needs the fonts to be hinted and the one you are using is not hinted. The Kobo system software does not need the fonts to be hinted or not. It doesn't matter. The URL below is where you can download ChareInk6SP.

https://www.mobileread.com/forums/sh...d.php?t=184056
JSWolf is offline   Reply With Quote
Old 04-13-2024, 08:49 AM   #10
mistle
Member
mistle began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Apr 2024
Device: Libra 2
Quote:
Originally Posted by JSWolf View Post
Can you please do me a favor and try ChareInk6SP and see what you get? This is what I use and it works for me. It is hinted. Maybe KOReader needs the fonts to be hinted and the one you are using is not hinted. The Kobo system software does not need the fonts to be hinted or not. It doesn't matter. The URL below is where you can download ChareInk6SP.

https://www.mobileread.com/forums/sh...d.php?t=184056
Thanks. I tried it and it seems to render quite well on the stock reader. Auto hinting is still being applied, but along with Bookerly and a few other default fonts, it’s not severe and is still aligned correctly.

You may have misinterpreted what I said though, as Koreader doesn’t require the fonts to be hinted. It gives you the choice between off, native, or auto, so you can select whichever you prefer. On many fonts, auto creates misaligned characters. Turning it off fixes the issue.

In comparison, the stock Kobo reader always has the misaligned characters (with certain fonts). If the font has native hinting, it uses it, and if it’s unhinted then it applies auto hinting. Either way, the font is wobbly. There’s no way that I know of to disable auto hinting on unhinted fonts, thus why I created this thread.

The only way I know of to have all fonts render properly is to use Koreader and disable hinting, which is what I’m doing for the time being.

(Also here’s the gif again as the previous link broke):
mistle is offline   Reply With Quote
Old 04-13-2024, 05:13 PM   #11
Aleron Ives
Wizard
Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.
 
Posts: 1,436
Karma: 16297052
Join Date: Sep 2022
Device: Kobo Libra 2
You might try asking in the kobopatch request thread.
Aleron Ives is offline   Reply With Quote
Old 04-13-2024, 06:52 PM   #12
Sunspark
Zealot
Sunspark plays well with othersSunspark plays well with othersSunspark plays well with othersSunspark plays well with othersSunspark plays well with othersSunspark plays well with othersSunspark plays well with othersSunspark plays well with othersSunspark plays well with othersSunspark plays well with othersSunspark plays well with others
 
Posts: 122
Karma: 2600
Join Date: Sep 2009
Device: EZ Reader Pocket PRO
I don't have a Kobo so I can't speak to the stock reader, but as someone who looks at fonts a lot, I can tell you that having this switch to turn hinting on and off is quite valuable.

Some fonts don't have hinting or have bad hinting, in which case, turning off hinting will activate freetype's autohinter and produce better results than trying to force pixels into a grid.

Fonts that have good hinting will do better with hinting on.

An example of a font without hinting, is this older version of Gentium (use the Book weight especially).. you will see that it looks much better with hinting turned off than with it on. https://software.sil.org/downloads/r...Basic_1102.zip

For the stock reader, it really depends on how freetype is configured.. I would say just use fonts that have hinting already applied for the stock reader.

Usually hints are found in ttf fonts and not otf, though hinting can be done in otf, but it is less common.

One you could play with in both readers is the Stix Two fonts.. they offer autohinting on both the otf and ttf, but the variable font version is unhinted. So you could try the variable font first in both readers, then take it off and put in the ttf version and see how that is. https://github.com/stipub/stixfonts/tree/master/fonts
Sunspark is offline   Reply With Quote
Old 04-14-2024, 06:17 AM   #13
Colonel Cathcart
Addict
Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.
 
Posts: 220
Karma: 340434
Join Date: Dec 2020
Location: Israel
Device: Kobo Libra H2O
why is this still a thing? Isn't hinting required for rendering on low DPI screens, which modern e-readers aren't?
Colonel Cathcart is offline   Reply With Quote
Old 04-14-2024, 07:31 AM   #14
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: 76,491
Karma: 136564766
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 mistle View Post
Thanks. I tried it and it seems to render quite well on the stock reader. Auto hinting is still being applied, but along with Bookerly and a few other default fonts, it’s not severe and is still aligned correctly.

You may have misinterpreted what I said though, as Koreader doesn’t require the fonts to be hinted. It gives you the choice between off, native, or auto, so you can select whichever you prefer. On many fonts, auto creates misaligned characters. Turning it off fixes the issue.

In comparison, the stock Kobo reader always has the misaligned characters (with certain fonts). If the font has native hinting, it uses it, and if it’s unhinted then it applies auto hinting. Either way, the font is wobbly. There’s no way that I know of to disable auto hinting on unhinted fonts, thus why I created this thread.

The only way I know of to have all fonts render properly is to use Koreader and disable hinting, which is what I’m doing for the time being.

(Also here’s the gif again as the previous link broke):
I've used ChareInk6SP with KOReader and I've not disabled hinting and it works very well.
JSWolf is offline   Reply With Quote
Old 04-14-2024, 10:19 AM   #15
mistle
Member
mistle began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Apr 2024
Device: Libra 2
Quote:
Originally Posted by Sunspark View Post
I don't have a Kobo so I can't speak to the stock reader, but as someone who looks at fonts a lot, I can tell you that having this switch to turn hinting on and off is quite valuable.
Thanks a lot for the advice. I’ll be sure to try out the suggested fonts.

Quote:
Originally Posted by Colonel Cathcart View Post
why is this still a thing? Isn't hinting required for rendering on low DPI screens, which modern e-readers aren't?
Probably just legacy settings they’ve never thought to change It is subtle, so I doubt it has been a real priority to them. Many in this thread have never noticed, for instance. But I would’ve thought an ereader company would want text on their devices to look as good as possible.

Quote:
Originally Posted by JSWolf View Post
I've used ChareInk6SP with KOReader and I've not disabled hinting and it works very well.
I agree, as I said this problem only applies to certain fonts. ChareInk renders well both with/without hinting (even though I’m not partial to the font itself), as do a few other fonts I tried. But many do not, thus the conceit of the thread.

Last edited by mistle; 04-14-2024 at 10:23 AM.
mistle is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ares Note 3.1.0 OTA broke font sizes in non stock apps rvcjew Boyue 4 05-14-2021 09:47 AM
downsides to having disable font rescaling always on? lumpynose Conversion 11 05-17-2019 03:48 PM
Font hinting in fontconfig preferences Axell Conversion 1 07-03-2018 10:15 PM
Disable font resize swipe?? Daveychan Kindle Developer's Corner 0 10-25-2016 10:00 PM
Unable to disable rescaling of font sizes lith61 Conversion 2 11-18-2015 04:37 PM


All times are GMT -4. The time now is 12:21 AM.


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