Quote:
Originally Posted by nabsltd
That doesn't embed the font...it merely imports the file. How about the CSS @font-face rule that matches it? Calibre should also add that.
|
Add it where? And given the way that @font-face works in CSS, adding ti manually is trivial. By that I mean that regardless of what you put in the rule, as long as you get the file name correct, the rule will work.
Quote:
Right, but all that has to match is the name. That's good enough to get to the file for most people, but Calibre still won't embed the font unless we make the CSS selector an exact match, which is what the pain is all about.
|
No it most definitely is not enough to get a file. Font selection, operates on four keys, name (of which there are actually half a dozen varieties in font files), weight, style and stretch. Read the CSS spec on fonts sometimes.
Quote:
All I'm asking for is that dialog show every piece of information required to make the CSS match the font file. Hell, you could show a copyable CSS selector, if you wanted.
|
See my previous post. You really need to read what I actually say instead of jumping up and down and repeating yourself endlessly. Quoting myself, from one day and 14 posts before:
Quote:
I suppose I could have the embed font button popup a report that shows why fonts with matching family names did not match fully.
|