Problem generating.svg images
Hello,
I'm having a problem with the conversion of svg images. (I looked at the debug\input\images directory, and all the gif images are correct, but all of the svg images are broken.) An interesting clue is the content of the svg files. I opened one in a text editor and it looked like this:
<?xml-stylesheet href="../styles/0001.css" type="text/css" ?><svg width="100%" height="100%" class="kf8" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="10 0 330 335" xml:space="preserve" amzn-src-id="334" xmlns:xml="http://www.w3.org/XML/1998/namespace">
<text transform="matrix(1 0 0 1 7 13)" font-size="36" amzn-src-id="335">
<tspan x="0" dy="0" amzn-src-id="336">XABCDEFGHY</tspan>
<tspan x="0" dy="35" amzn-src-id="337">8k+-+-+-+(</tspan>
<tspan x="0" dy="36" amzn-src-id="338">7+-+-+-+Q'</tspan>
<tspan x="0" dy="36" amzn-src-id="339">6-+K+-+-+&</tspan>
<tspan x="0" dy="36" amzn-src-id="340">5+-+-+-+-%</tspan>
<tspan x="0" dy="36" amzn-src-id="341">4-+-+-+-+$</tspan>
<tspan x="0" dy="36" amzn-src-id="342">3+-+-+-+-#</tspan>
<tspan x="0" dy="36" amzn-src-id="343">2-+-+-+-+"</tspan>
<tspan x="0" dy="36" amzn-src-id="344">1+-+-+-+-!</tspan>
<tspan x="0" dy="36" amzn-src-id="345">xabcdefghy</tspan>
</text>
</svg>
Now this is supposed to be an image of a chess board, and the content is mostly correct, i.e., the - characters are white squares and + characters are black squares. The k, Q, and K characters correspond to the black king, the white queen and the white king.
In short, it looks like this might have been correct if it was rendered with a "chess font" instead of standard text.
Any ideas? FWIW, when I saw this problem I upgraded to the latest Calibre (4.11.2) and KFX plugin (1.30.0) but no luck.
Thanks for any help you can provide.
|