View Single Post
Old 04-05-2015, 05:51 AM   #7
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,827
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by dgatwood View Post
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

Last edited by RbnJrg; 04-05-2015 at 05:54 AM.
RbnJrg is offline   Reply With Quote