I finally solved.
In your example, font-size attributes are inside style attribute:
Code:
<text style="text-anchor: middle; font-size: 20px; font-family: Futura" textLength="180" x="150" y="65">Some Author</text>
But in "3.6.10 Image Guideline #10: Displaying Text Correctly within SVG" of "Amazon Kindle Publishing Guidelines" I found that:
Quote:
To display text correctly within an SVG, use the font-size attribute for <text> inside the SVG.
Example
Code:
<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 I guess the right working code for your example should be:
Code:
<text style="text-anchor: middle; font-family: Futura" textLength="180" font-size="20" x="150" y="65">Some Author</text>
NOTE: if I write font-size=20 like in the example instead of font-size="20" it doesn't work. Anyway font-size must be without "px".
Uploading to kdp characters appear finally with the right size in the online preview.