Quote:
Originally Posted by zonker
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:
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.
|
Congratulations, good work!!

And a final aclaration; when you omit a unit in "font-size" in that context (text inside a svg image) -for default- the unit is "pixel" (as when you use "width" and "height" inside a <img> tag; you write -for example- width="180" without any unit but that means pixels)