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 06-08-2017, 07:17 PM   #91
tiltowait
Junior Member
tiltowait began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2017
Device: Kobo Aura One
Hi there, first-time poster here.

Quote:
## BEWARE: The optimizeLegibility option results in some quite uneven word and
## letter spacing when reading fully-justified text.
What is the cause of this? Is there any alternative patch that enables ligatures in kepubs without messing up full-justification spacing?
tiltowait is offline   Reply With Quote
Advert
Old 06-08-2017, 07:30 PM   #92
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: 49,580
Karma: 42906343
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by tiltowait View Post
Hi there, first-time poster here.



What is the cause of this? Is there any alternative patch that enables ligatures in kepubs without messing up full-justification spacing?
The best looking will be ePub. So if your willing to give up keppub and read ePub, you'll get better typesetting with ligatures, kerning, hyphenation, and adjusting spaces.
JSWolf is offline   Reply With Quote
Old 06-08-2017, 07:36 PM   #93
tiltowait
Junior Member
tiltowait began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2017
Device: Kobo Aura One
Quote:
Originally Posted by JSWolf View Post
The best looking will be ePub. So if your willing to give up keppub and read ePub, you'll get better typesetting with ligatures, kerning, hyphenation, and adjusting spaces.
Every time I've tried ePub, it's looked—and this is no exaggeration—godawful. I mean truly, stupendously bad. I suppose I can give it another shot, but I really like the chapter progress stats and bars. Kepubs look great, aside from missing ligatures.

But, like I said, I'll give it another shot. Are the typographic settings shared between the two readers, or separate? I have them tuned just how I like them on kepub, and I'd hate to accidentally mess them up.
tiltowait is offline   Reply With Quote
Old 06-08-2017, 07:40 PM   #94
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: 49,580
Karma: 42906343
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by tiltowait View Post
Every time I've tried ePub, it's looked—and this is no exaggeration—godawful. I mean truly, stupendously bad. I suppose I can give it another shot, but I really like the chapter progress stats and bars. Kepubs look great, aside from missing ligatures.

But, like I said, I'll give it another shot. Are the typographic settings shared between the two readers, or separate? I have them tuned just how I like them on kepub, and I'd hate to accidentally mess them up.
One thing that will help make both ePub and kepub look better is a better hyphenation dictionary.

Just unzip the zip file and put the file KoboRoot.tgz in the .kobo directory and when you eject, the Kobo will install the better hyphenation dictionary.

https://www.mobileread.com/forums/sh...d.php?t=252405
JSWolf is offline   Reply With Quote
Old 06-08-2017, 08:40 PM   #95
jackie_w
Wizard
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: 3,993
Karma: 8365440
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, Kobo AuraHD/Aura6"/AuraH2O/GloHD/AuraOne
Quote:
Originally Posted by tiltowait View Post
What is the cause of this? Is there any alternative patch that enables ligatures in kepubs without messing up full-justification spacing?
Did you try enabling this particular patch to see whether it gives results in kepub that you could live with?

If you want some more detailed background about the optimizeLegibility option try reading this thread from post #19 onwards and specifically my post #37.
jackie_w is online now   Reply With Quote
Advert
Old 06-08-2017, 08:44 PM   #96
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: 49,580
Karma: 42906343
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
I've tried optimizeLegibility and I did get some incorrect hyphenation with kepub. I've not seen any incorrect hyphenation with ePub.
JSWolf is offline   Reply With Quote
Old 06-08-2017, 08:58 PM   #97
tiltowait
Junior Member
tiltowait began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2017
Device: Kobo Aura One
@JSWolf, I have a better hyphenation dictionary, but I'm not sure I've tried ePub since installing it.

Quote:
Originally Posted by jackie_w View Post
Did you try enabling this particular patch to see whether it gives results in kepub that you could live with?

If you want some more detailed background about the optimizeLegibility option try reading this thread from post #19 onwards and specifically my post #37.
I've tried the patch and found the spacing to be poor. I'll read the link. Thanks.

EDIT: Having read the linked thread, it seems like there's no real solution as of now. Bummer.

Last edited by tiltowait; 06-08-2017 at 09:26 PM.
tiltowait is offline   Reply With Quote
Old 06-09-2017, 02:24 AM   #98
tiltowait
Junior Member
tiltowait began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2017
Device: Kobo Aura One
So I went ahead and tried an ePub—one I downloaded and converted through Calibre with the same options I use to create kepubs, only obviously setting the output format to epub.

The good news is, it looks far better than the last time I tried it.

The bad news? No ligatures, and I can't change the font. I should probably try a different ePub, but does anyone know why this would happen?
tiltowait is offline   Reply With Quote
Old 06-09-2017, 05:44 AM   #99
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: 49,580
Karma: 42906343
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by tiltowait View Post
So I went ahead and tried an ePub—one I downloaded and converted through Calibre with the same options I use to create kepubs, only obviously setting the output format to epub.

The good news is, it looks far better than the last time I tried it.

The bad news? No ligatures, and I can't change the font. I should probably try a different ePub, but does anyone know why this would happen?
Edit the font in the eBook editor in Calibre and remove the references to font-family and the fonts if there are any and also the @font-face that go with them.
JSWolf is offline   Reply With Quote
Old 06-09-2017, 01:19 PM   #100
tiltowait
Junior Member
tiltowait began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2017
Device: Kobo Aura One
I tried a different book and got ligatures to work. Unfortunately, my preferred font looks totally different (worse) in the ePub reader, and my second-favorite font renders in bold italic.

Oh, well. I'll stick with kepubs. I miss the chapter progress in epubs, anyway.
tiltowait is offline   Reply With Quote
Old 06-09-2017, 02:37 PM   #101
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: 49,580
Karma: 42906343
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by tiltowait View Post
I tried a different book and got ligatures to work. Unfortunately, my preferred font looks totally different (worse) in the ePub reader, and my second-favorite font renders in bold italic.

Oh, well. I'll stick with kepubs. I miss the chapter progress in epubs, anyway.
If your second favorite font is Bookerly, the reason it renders wrong is because of mistakes in the fonts metadata.

What is your favorite font? I've used kepub and it renders the fonts no worse than ePub. I'm not talking typesetting, just the font. if you are talking typesetting, ePub renders better. But as for your favorite font, if it has hinting, that could possibly be the problem. Hinting works best for LCD and print and without hinting works better on eInk.
JSWolf is offline   Reply With Quote
Old 06-11-2017, 08:53 PM   #102
tiltowait
Junior Member
tiltowait began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2017
Device: Kobo Aura One
The fonts in question are Bitstream Iowan Old Style and Goudy Old Style. Removing hinting from fonts has been hit-or-miss for me. It seems like there's either no discernible difference or it totally breaks the font in weird ways.

Does it only benefit epubs?
tiltowait is offline   Reply With Quote
Old 06-12-2017, 11:22 AM   #103
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: 49,580
Karma: 42906343
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by tiltowait View Post
The fonts in question are Bitstream Iowan Old Style and Goudy Old Style. Removing hinting from fonts has been hit-or-miss for me. It seems like there's either no discernible difference or it totally breaks the font in weird ways.

Does it only benefit epubs?
It benefits eInk screens.
JSWolf is offline   Reply With Quote
Old 06-12-2017, 08:20 PM   #104
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,407
Karma: 14134918
Join Date: Nov 2012
Location: Beneath the Long White Cloud
Device: Kobo Glo
Quote:
Originally Posted by tiltowait View Post
I tried a different book and got ligatures to work. Unfortunately, my preferred font looks totally different (worse) in the ePub reader, and my second-favorite font renders in bold italic.
The problem of the font being rendered in the wrong style or weight can happen in both KePub and ePubs, but the cause is usually different. If it happens in KePubs it is usually caused by the wrong weight being set in the font's PANOSE profile. If it happens in ePubs it is usually caused by the font family or styles names being incorrect. Both are fairly easy to fix in fontforge.
GeoffR is offline   Reply With Quote
Old 06-20-2017, 06:22 AM   #105
mathil
Zealot
mathil can differentiate black from dark navy bluemathil can differentiate black from dark navy bluemathil can differentiate black from dark navy bluemathil can differentiate black from dark navy bluemathil can differentiate black from dark navy bluemathil can differentiate black from dark navy bluemathil can differentiate black from dark navy bluemathil can differentiate black from dark navy bluemathil can differentiate black from dark navy bluemathil can differentiate black from dark navy bluemathil can differentiate black from dark navy blue
 
Posts: 146
Karma: 13117
Join Date: Sep 2014
Device: Kobo Aura H2O/Glo HD, Kindle Paperwhite 3
For the first time since updating I began a book with footnotes, and I noticed that in the Kepub renderer the pop-ups now have a different font (it used to be Georgia, now it's - I think - Kobo Nickel). I find it ugly and very hard to read, so I was wondering if there's a way to patch the firmware to change that font?

Last edited by mathil; 06-20-2017 at 06:38 AM.
mathil is offline   Reply With Quote
Reply

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.16.0 GeoffR Kobo Developer's Corner 74 08-12-2015 02:12 PM
Instructions for patching firmware 3.11.0 GeoffR Kobo Developer's Corner 226 06-01-2015 05:32 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.8.0 GeoffR Kobo Developer's Corner 92 10-22-2014 07:22 AM
Instructions for patching firmware 3.1.1 GeoffR Kobo Developer's Corner 64 04-18-2014 01:23 PM


All times are GMT -4. The time now is 08:44 PM.


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