View Single Post
Old 08-17-2024, 12:05 PM   #2075
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,042
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
Quote:
Originally Posted by Shohreh View Post
I find sans serif fonts easier to read on my e-reader.

Unless I missed it, it looks like k2 doesn't support setting the fonts in the output.

Is there a utility that can replace them in the input file?

For instance, here are the fonts in a book I'm currently reading:
Code:
.SFNS-Regular_wdth_opsz110000_GRAD_wght (TrueType; embedded)
.SFNS-Regular_wdth_opsz110000_GRAD_wght (TrueType; Roman; embedded)
Alegreya-Regular (TrueType; Roman; embedded)
Thank you.
It is generally a bad idea to replace the fonts in a PDF. When the PDF is constructed, the characters are precisely positioned (i.e. kerned) according to their shapes in the original font. If you change the font, then you get weird spacings between the characters in words (some have bigger gaps, others overlap). It just looks bad.

EPUBs are rendered completely differently from PDFs. There is no kerning information in EPUBs, so swapping fonts doesn't lead to weird character spacing.
rkomar is offline   Reply With Quote