Quote:
Originally Posted by darksky84
yes i did and this is what was said:
You have to EMBED the font in the source file. You'll have to include it in a directory of some kind, typically fonts/, and then you call it in the CSS. That's the only way to do it.
but i have no idea how to do that
|
If you read this thread:
https://www.mobileread.com/forums/sh...ght=embed+font
...all of the necessary coding is shown there. You'll see in the OP's first post how the font is listed, in the CSS, and how it's added to a specific element, and then called in the HTML.
That should get you there. If you still cannot figure it out, you're going to have to take a few short courses at WC3School, to get the necessary knowledge so that you can make this work. Between that thread, and Pablo's tutorial--I assume you've worked through that? On the Wiki, here at MobileRead?--you should be good to go.
I and the others here never--ever--mind helping, but you need to take some whacks at it yourself, first. We can't just tell you how to do it because we don't have your files, we don't know your HTML classes, etc. It's literally impossible for us to do it for you. You'll have to try it yourself, in your files, and then ask us here for help, if you can't make it work. I don't mean to sound testy, but
there are any number of threads, here in the Kindle formats subforum, that have thorough discussions about how to embed fonts in Kindle format. What Jon--Wolfie--told you is correct, I have a lot of knowledge about embedding fonts, but the "pointy end" of my knowledge isn't going to help you. Your need is at the fundamental, basic steps. So, read that thread, and then:
- First embed the font in the /fonts folder (AFTER you license it, don't forget);
- Name and identify the font in the CSS;
- Add the font call as needed to the relevant CSS element classes, and,
- lastly, when completed, load your MOBI file at the KDP, to test whether or not your font survives the KDP upload. Many do not. Testing the file at the KDP is the only way to be even remotely assured that the font will work when the book is live.
Good luck,
Hitch