Thread: Kobo Font Help
View Single Post
Old 12-06-2024, 09:21 PM   #7
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: 81,120
Karma: 150263703
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 PeterT View Post
I can't say that I understand fully what I'm doing, but, I made use of shermanp's script ReadifyFont https://github.com/shermp/ReadifyFont and generated what I called 'LelujaNew', loaded it along with an epub called FontTester and seem to have no issues seeing 4 distinct styles and only a single font name LelujaNew.

I used the commands
Code:
fontforge -script ReadifyFontCLI.py -r LelujaOriginal-Regular.ttf LelujaNew
fontforge -script ReadifyFontCLI.py -i LelujaOriginal-Italic.ttf LelujaNew
fontforge -script ReadifyFontCLI.py -b LelujaOriginal-Bold.ttf LelujaNew
fontforge -script ReadifyFontCLI.py -B LelujaOriginal-BoldItalic.ttf LelujaNew
I have no idea what the script is doing, but in Windows Font Viewer, the descenders are cut off. In the regular version, the letter o is screwed up. Here are the screen grabs to show the problems.

I think some of this this may have to do with the adding weight which a Kobo does not need. So the code for adding weight should be removed even if the adding of weight is not the problem.
Attached Thumbnails
Click image for larger version

Name:	font04.jpg
Views:	109
Size:	300.5 KB
ID:	212390   Click image for larger version

Name:	font03.jpg
Views:	105
Size:	307.6 KB
ID:	212391   Click image for larger version

Name:	font02.jpg
Views:	112
Size:	300.0 KB
ID:	212392   Click image for larger version

Name:	font01.jpg
Views:	109
Size:	277.6 KB
ID:	212393  

Last edited by JSWolf; 12-06-2024 at 09:23 PM.
JSWolf is online now   Reply With Quote