View Single Post
Old 04-13-2015, 02:59 AM   #1
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,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
How to enable KEPUB kerning for sideloaded fonts

Until now all of the sideloaded fonts containing kerning tables that I had tried, whether OTF or TTF, functioned as expected in the EPUB reader but remained unkerned in the KEPUB reader.

But I found that converting the font to TTF in Fontforge with the "Old style kern" option enabled allows the kerning to work in the KEPUB reader too.

For example, I tried the Charta font from this thread with the KEPUB reader on my Glo (firmware 3.13.1), the first screenshot is with the font in OTF format, the second converted to TTF with the "Old style kern" option enabled:
Attached Thumbnails
Click image for larger version

Name:	original-otf.png
Views:	965
Size:	59.4 KB
ID:	137176   Click image for larger version

Name:	ttf-old-style-kern.png
Views:	1016
Size:	59.4 KB
ID:	137177  
Attached Files
File Type: zip Charta-ttf-old-style-kern.zip (131.7 KB, 397 views)

Last edited by GeoffR; 04-13-2015 at 04:26 AM. Reason: Attached Charta font in TTF format with Old style kern option enabled.
GeoffR is offline   Reply With Quote