Hi Cameron/all,
I've tried to email the test case, but I keep getting bounces from the
list, even though its now down to about 11k. I guess it doesn't like
some of the file types I'm trying to send.
These two svg files should illustrate the issue I believe I am seeing.
The first will be exported to PNG/JPEG correctly, the second one not.
A bit more investigation has narrowed this down slightly...
It seems the problem is related to the style class names as well as the
style class order. If you have two style class names, one of which is
the prefix of the other, (eg in my case 'graphHeaderFont' and '
graphHeaderFont Colour'), and the longer precedes the shorter in the
'class=' reference, the second style is ignored or not referenced.
I'll keep on investigating, but any advice/tips as to whether my CSS
does not comply with the Spec, or this is a bug, would be very
gratefully received.
Best regards,
Dylan
------------------------
<svg contentScriptType="text/ecmascript" zoomAndPan="magnify"
xmlns:xlink="http://www.w3.org/1999/xlink"
contentStyleType="text/css" version="1.0" width="820.0"
viewBox="0 0 820.0 650.0"
height="650.0" xmlns="http://www.w3.org/2000/svg">
<defs>
<style type="text/css">
<![CDATA[
.graphHeaderFontColour {
fill: red;
}
.graphHeaderFont {
font-family: courier new;
font-weight: bold;
font-size: 32px;
}
]]>
</style>
</defs>
<text x="400.0" y="100" class="graphHeaderFont
graphHeaderFontColour" text-anchor="middle">
Text test - how do the fonts look!?
</text>
</svg>
-----------------------------------------
<svg contentScriptType="text/ecmascript" zoomAndPan="magnify"
xmlns:xlink="http://www.w3.org/1999/xlink"
contentStyleType="text/css" version="1.0" width="820.0"
viewBox="0 0 820.0 650.0"
height="650.0" xmlns="http://www.w3.org/2000/svg">
<defs>
<style type="text/css">
<![CDATA[
.graphHeaderFont {
fill: red;
font-family: courier new;
font-weight: bold;
font-size: 32px;
}
.graphHeaderFontColour {
}
]]>
</style>
</defs>
<text x="400.0" y="100" class="graphHeaderFontColour
graphHeaderFont" text-anchor="middle">
Text test - how do the fonts look!?
</text>
</svg>
-------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]