View Single Post
Old 08-21-2022, 05:54 PM   #56
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: 80,138
Karma: 148951761
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 jackie_w View Post
Supposedly. You'd need to try it yourself to be absolutely sure. On my own Kobos I've sideloaded a copy of Courier Prime which I'd previously used a font editor to change its internal font name to simply Courier. That definitely works, but I never bothered to check whether the font editor renaming was actually superfluous.
I have Courier Prime loaded on my Kobo. I tried font-family: monospace; and it did not work with 4.33. I used to work. I have 4.29 on my H2O and it used to work. Now it works if the font is named Courier. So your renaming is not superfluous any longer. It's what works in ePub.

When I try this in KePub, I get a really small font. Smaller then 1em. It could be Georgia.

IMHO, I think if the eBook is using monopsace, use ePub if you have Courier (or a font internally named Courier) in fonts. Otherwise, you'll have to do a full font embed. Even if you don't have Courier in fonts, you can do the pseudo embed (where you can specify the font that lives in fonts) for monospace.

So basically, after the font system change, Kobo made KePub worse because using monospace just became more difficult. And if monospace is used, you'll have a basically unreadable (too small) font that's not monospace (I think it's Georgia).

A good example of where this will be a problem is in the eBook of Planetfall by Emma Newman. It specifies monospace for text messages. If you load this as KePub, it will have sections of the book that are not readable or hard to read. If it's loaded as ePub and you don't have a Courier font in font's, you'll get the same font as your selected font.

This really is a mess for those who do not know the fixes. If someone buys books from Kobo and syncs, any books that specify monospace without any embedded font, will not be happy.

So it means that the patch Default ePub monospace font: won't work any more.

Last edited by JSWolf; 08-21-2022 at 06:21 PM.
JSWolf is offline   Reply With Quote