Hmm, understood.
I am editing them manually anyway. So is there some other way that epub svgs can use specific fonts? Inline css?
I see that global styles don't automatically apply to them (ex, in stylesheet there is already font-face for text tags but that is not applied within svgs), so somehow the svg needs to say that stylesheet should be applied to it. This seems different from normal browser behaviour.
Luckily they also have gifs available for the same images - so i am showing that and hiding the svg. I am planning to remove the hidden svgs and the html referencing them - is that safe to do? Or is there some other asset manifest which i have to edit?
Also, for context - in the ebook edit tool, this special svgs preview correctly with font but when the html containing it is previewed, then it doesn't use fonts. The second behavior is consistent with ebook readers, but why the first behavior?
|