Quote:
Originally Posted by dgatwood
The problem potentially comes when you try to deploy on Kindle, where the base font size isn't necessarily 12 point.
|
You can set any font-size for the caption and Kindle (with .kf8 support) wil accept it by using the font-atribute (you mustn't use css styles). In the Kindle Publishing Guidelines you can read the following:
Code:
3.6.10 Image Guideline #10:
Displaying Text Correctly within SVG
To display text correctly within an SVG, use the
font-size attribute for <text> inside the SVG.
Example
<html>
<body>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<text x="20" y="20" font-size="20" fill="red">svg text sample</text>
</svg>
</body>
</html>
So, for example the base font-size could be 1em (or whatever) and the caption to have a font-size of 8pt or 10pt.
Regards
Rubén