![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 276
Karma: 3000000
Join Date: Nov 2015
Device: none
|
Tutorial: Reducing line spacing in Kindle readers
Default 'Spacing' settings are too wide for many people on its narrowest setting. Here's what I use to fix this. This process is not modifying line spacing, it's achieving the look of smaller line spacing by increasing scale of fonts files. All that's needed is uploading a modified custom font file to the device, selecting it, and it should work on all reflowable books that Amazon supports. This solution works on every book in every format that supports custom fonts. It works on store bought books, and it works on sideloaded books.
It should also work on every reader that supports custom fonts, but it's really not needed on others, because they tend to support custom reading apps that allow smaller line spacing settings, or their default readers support such settings. It's also possible to modify line spacing directly on epub books, because style commands of the "line-height:" family work on them. Kindle simply ignores this setting once epub is converted to one of it's formats. I think that 'line-height' command works on azw3 format, but then you're missing out on a few goodies that kfx format supports, like native cover thumbnails, and it's only viable for sideloaded books. Requirements: Spoiler:
Instructions: Spoiler:
Drawbacks and notes: Spoiler:
Threads that talk about this issue and some links: Spoiler:
Some Before/After screenshots from my Kindle. Because fonts are scaled, font size settings differ. I tried to match some samples, but it was never possible to get them exactly the same. It should give and idea what to expect. There's also a font zip file in attachments with eight fonts, that I've scaled by value of 120 to 130%. All fonts scaled are freeware, or open source. Links to original fonts are provided in the links section. That's it. I hope someone finds it useful. I may add a few more screenshots and fix some typos, in the meantime, have a Happy Christmas everyone. POST HISTORY: 1.0 Initial post 1.1 Included Linux as optional requirement 1.2 More fonts, more samples. Clarified width step. I previously stated that all fonts need to have width corrected. It turns out that this is incorrect, as most don't require this step. Last edited by jackm8; 01-02-2025 at 01:29 PM. |
![]() |
![]() |
![]() |
#2 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 477
Karma: 5555555
Join Date: Aug 2016
Location: Czech Republic
Device: Voyage, Oasis, Scribe, Colorsoft, Libra Colour
|
Thanks for this, it’s one of the things that really do bug me on the Kindle. Will give it a shot!
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,408
Karma: 142887248
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
This does not work for KFX as KFX uses a forced fixed kine height.
|
![]() |
![]() |
![]() |
#4 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 508
Karma: 8008008
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
|
Because the font resizing technique listed here increases the size of the font while maintaining the original line height metrics, this should work on any renderer that respects the font metrics, which the KFX renderer appears to do.
|
![]() |
![]() |
![]() |
#5 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,408
Karma: 142887248
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
The idea is to reduce the line height without increasing the font size. You can do this with KF8 but not KFX. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 276
Karma: 3000000
Join Date: Nov 2015
Device: none
|
Trust me, it works.
![]() |
![]() |
![]() |
![]() |
#7 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,408
Karma: 142887248
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
But it's not correct. You are not supposed to make the font size larger. You are supposed to keep the font size as is and make the line height smaller.
|
![]() |
![]() |
![]() |
#8 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,409
Karma: 102739835
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
This works because it creates messed up font-metrics. The font is bigger than it should be and the line-spacing (if not set in CSS) is based on the font at correct size. So when user changes the GUI font size back to normal the line spacing reduces. I had thought this was a way to over-ride Amazon stupidity (you also need a negative 1.5% approx overall margins). In the end, it's less work to buy a Kobo and use the Paperwhite Serial number (pre-2024 models) for Download and Transfer, using a plug-in on Calibre to automatically remove DRM. Then convert to epub and read on anything not a Kindle to avoid Amazon's artificial stupidity. This is a good idea, but it's too much work for most people. |
|
![]() |
![]() |
![]() |
#9 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,408
Karma: 142887248
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
As for the sample in the first post, it's ugly because you are taking a really ugly font and making it larger then it should be. So you get more of a very ugly font. Last edited by JSWolf; 12-27-2024 at 11:54 AM. |
|
![]() |
![]() |
![]() |
#10 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 276
Karma: 3000000
Join Date: Nov 2015
Device: none
|
Quote:
It looks like a long process, but it shouldn't take more than ten minutes per font file, after one is familiarised with programs. I just tried to cover everything, as things can go wrong in FontForge. It's less work in the long run, though. Once fonts are fixed, they work on every book on the device. Another plus is that it works on store bought books, no need to dedrm them. |
|
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,663
Karma: 103020299
Join Date: Apr 2011
Device: pb360
|
Is there some specific reason linux doesn't meet the requirements?
|
![]() |
![]() |
![]() |
#12 |
Zealot
![]() Posts: 134
Karma: 10
Join Date: May 2019
Location: Brazil
Device: Kindle PPW5 / Kobo Aura One
|
@jackm8
Do you have ahy ideia where in font forge I can setup more weight to a font tha I use ? That font I need to load on Ipad to use. The original is thin so I need more weight. Tks if you can hlep me. |
![]() |
![]() |
![]() |
#13 | ||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 276
Karma: 3000000
Join Date: Nov 2015
Device: none
|
Quote:
Quote:
Element -> Style -> Change Weight (Ctrl+Shift+!). Last edited by jackm8; 12-27-2024 at 06:12 PM. |
||
![]() |
![]() |
![]() |
#14 |
Zealot
![]() Posts: 134
Karma: 10
Join Date: May 2019
Location: Brazil
Device: Kindle PPW5 / Kobo Aura One
|
Tks 👍🏽
|
![]() |
![]() |
![]() |
#15 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 276
Karma: 3000000
Join Date: Nov 2015
Device: none
|
I update the samples in the first post, and added a few extra scaled fonts. With WinterBreak now available, this process is now outdated for everyone with it. It should still be viable for people not willing to jailbreak their Kindles.
Regarding fonts, I'm only posting open source or freeware fonts, so no Adobe fonts. Also no Amazon fonts, as I've no idea regarding their licencing model. My own taste prevailed regarding fonts that I included. Coromrant and Cardo are both Garamond inspired fonts. EB Garamond is one of the first open source Garamond fonts. Charis and it's derivative Chareink appear to be popular here. I included both. Questrial is Futura like open source font, while Inter is a popular sans serif font. I'm also a longtime FC Internazionale fan, so that's an extra reason for including it. Samples are all taken with 'Bold' setting in the reader set to lowest possible. 'Spacing' setting is in every case set to the smallest possible. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Line Spacing | Edemen | Amazon Kindle | 31 | 09-21-2023 04:59 PM |
How to adjust Line Spacing with Send to Kindle Email | GnRFan79 | Kindle Formats | 25 | 05-18-2022 05:42 PM |
Kindle DX line spacing... | rp97 | Kindle Developer's Corner | 3 | 12-05-2013 06:10 PM |
Tutorial on reducing font size on a per book basis | howyoudoin | Amazon Kindle | 0 | 11-09-2013 06:47 AM |
Reducing line spacing | rjcroy | Kobo Reader | 3 | 06-11-2010 09:23 PM |