Quote:
Originally Posted by kovidgoyal
There are many possible problems in font files that can prevent them from being matched. Impossible to say what the problem is with your particular fonts without access to the font files.
|
I just ran into the same thing, and it would really help if Calibre gave us more information about the font from within the book editor. You can double click on a font in the "Manage Fonts" dialog and get some info, but not all. The "Choose Font Family" from the Conversion->Common Options gives you more info (width, at least).
Also, Calibre needs to map the CSS font-weight names into numbers. I had the following fail to find a matching font:
Code:
.text-western {
font-family: "Playbill", "Wanted", serif;
font-size: 2em;
font-stretch: extra-condensed;
font-weight: medium;
}
When looking at the "Choose Font Family" dialog, I see the attached. This is a perfect match, and yet until I do the following, Calibre won't find the font:
Code:
.text-western {
font-family: "Playbill", "Wanted", serif;
font-size: 2em;
font-stretch: extra-condensed;
font-weight: 500;
}
Perhaps a feature to embed a font regardless of whether there is a "match" would be good. Calibre could just insert the font into the book and add a perfectly matching @font-face definition, and then just let us create CSS selectors that match that definition.