View Single Post
Old 10-13-2024, 04:26 PM   #1
ghastmxn
Junior Member
ghastmxn began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2024
Device: PC/iPhone SE 2
Angry Importing Custom Font (From Local File)

I'm trying to change my e-book's font to OpenDyslexic, a font I found online.

https://opendyslexic.org/

I can't figure out how to get it to work. I'm trying to edit an .epub file.

I imported the font through Preferences>Common options>Embed Font Family

@font-face {
font-family: "OpenDyslexic";
src: url(fonts/OpenDyslexic-Regular.otf);
}

I added the @font-face thingy in a couple of different ways.

I'm getting the error "Unexpected missing generic font family"

I tried messing with the content.opf, but I have no idea what I'm doing.
None of the book appears in the font that I want on the E-book viewer on PC.

I just want my flipping font.

This is my first time using Calibre. I don't even know CSS very well or HTML (a little knowledge, but very small).

It would be even more helpful if someone told me how to include rules so I don't have to do this for every book.

Side note: I don't have dyslexia. I have ADHD. In middle school, I found that using this font helped me focus more on reader which motivated to read more.

I did download the font.
ghastmxn is offline   Reply With Quote