Born2Root / Fast-Font

This font provides faster reading through facilitating the reading process by guiding the eyes through text with artificial fixation points.
https://born2root.github.io/Fast-Font/
MIT License
173 stars 13 forks source link

Kindle compatibilty #8

Closed arcanite24 closed 1 month ago

arcanite24 commented 2 months ago

Hi!

Is this compatible with Kindle?

I'm putting the .ttf files into the /fonts directory and they're not showing up

Born2Root commented 2 months ago

Hi,

I have no Kindle so I cannot check it out myself, but I know it works on Kobo-KoReader.

Still I looked it up on the internet. As far as I understood the Kindle needs 4 font-variants of the same font, be placed in the folder.

The official info is:

Note: In order for the Kindle to recognize which style the font has, the fonts must comply with these conventions:
    Fontname-Regular.ttf (normal)
    Fontname-Italic.ttf (italic)
    Fontname-Bold.ttf (bold)
    Fontname-BoldItalic.ttf (bold and italic)

If the font is copied to the device and does not correspond to this naming scheme, the Kindle will not recognize it.

This means you first of all have to name the font like "Fastfont-Regular.ttf". I also read somewhere that the kindle (dependend on the firmware version) needs exactly this 4 names. Since we have Regular and Bold combined in the FastFont you have to copy the Font four times and name it differently - Regular, -Italic, -Bold and -BoldItalic like mentioned above.

Afterwards the Kindle should at least show you the font in the selection menu. You have to try out if the speed-reading functionality works. That is dependend on, if the kindle supports the opentype features of the font, that are the intelligence to print certain letters bold for speed-reading.

It would be great if you could post a short comment, if it worked or not. That could help other users trying the same ;-)

arcanite24 commented 2 months ago

Thanks for your response!

I'll definitely try adding the 4 variants.

Some interesting findings I made last week:

Hopefully I can find a solution and open up a PR with the fix

Thanks for the amazing work, I've been reading waaay faster and I can understand a lot more than before

maciejmrowiec commented 1 month ago

I can verify that the font worked straight out of the box with Kindle Paperwhite (5th gen) by copying Fast-sans.ttf and Fast-serif.ttf as they are.

GoSuToSaKuRa commented 1 month ago

I can verify that the font worked straight out of the box with Kindle Paperwhite (5th gen) by copying Fast-sans.ttf and Fast-serif.ttf as they are.

Hi, I am using Paperwhite 7th generation, but I cannot find the font after transferring to the font folder.

Update: I finally successfully transferred the font files to the Kindle, however, when I apply the font, it is just plain Sans and Serif

arcanite24 commented 1 month ago

Same @GoSuToSaKuRa

It works great with books purchased directly from Amazon.

For books sent via Calibre:

I've been trying a lot of things, from "burning" the font directly into the AZW3, custom CSS and nothing works. Only PDF files with the incrusted font works, but they look horrible on Kindle

arcanite24 commented 1 month ago

I just created a Python script that applies this effect directly to the files: https://github.com/arcanite24/libre-bioread

echarrod commented 1 month ago

Can confirm this works out the box for me too, copying the two files (Fast-sans.ttf and Fast-serif.ttf) over to my Kindle Paperwhite 6" 👌 Thanks!