Font issues with Calibre
I have been struggling with this issue for some time without success.
I need some help.
My source file is well formatted HTML.
My Style rules are in a file named template_css.css
No matter what style rules I write in my CSS file when Calibre coverts the HTML source to a MOBI output, apparently "Times New Roman" is the font used.
I've embedded my font ( Arial ) in the CSS file using:
@font-face {
font-family: "Arial";
font-weight: normal;
font-style: normal;
src: url(../Library/Fonts/arial.ttf);
}
I've verified that there is a folder named Library which contains a folder named Fonts, which holds the file arial.ttf in it.
When Calibre runs its - pre process - I can see that arial.ttf has been added to the zip file.
Yet when Calibre converts the HTML / CSS source to MOBI format and I check this on a Kindle application on:
My PC
My iPad
The only font I can see is "Times New Roman".
I'm totally foxed.
Any help will be appreciated.
Ivan Bayross
|