Here's a simplified version that still produces the error (below).
However, It's not quite that simple. The SVGs are saved by illustrators from Adobe Illustrator. I'm afraid that posting the full SVG would only be a distraction, but the font-family attribute values in the SVG actually reference a fontName saved by Illustrator. Illustrator saves font resource data like this:
Code: Select all
<rdf:Description rdf:about=""
xmlns:xmpTPg="http://ns.adobe.com/xap/1.0/t/pg/"
xmlns:stDim="http://ns.adobe.com/xap/1.0/sType/Dimensions#"
xmlns:stFnt="http://ns.adobe.com/xap/1.0/sType/Font#"
xmlns:xmpG="http://ns.adobe.com/xap/1.0/g/">
<xmpTPg:Fonts>
<rdf:Bag>
<rdf:li rdf:parseType="Resource">
<stFnt:fontName>ArialMT</stFnt:fontName>
<stFnt:fontFamily>Arial</stFnt:fontFamily>
<stFnt:fontFace>Regular</stFnt:fontFace>
<stFnt:fontType>Open Type</stFnt:fontType>
<stFnt:versionString>Version 3.00</stFnt:versionString>
<stFnt:composite>False</stFnt:composite>
<stFnt:fontFileName>arial.ttf</stFnt:fontFileName>
</rdf:li>
It seems unlikely that the font attribute values in the SVG will ever resolve to system/installed fonts.
I can edit the SVGs at conversion so I can produce an SVG that will make IM happy. I just need to know how to ensure that convert can use exactly the opentype or type 1 fonts that I need (assuming it can).
Here's the SVG. Like I said, this still produces the error for me.
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
x="0px" y="0px" width="837.727px"
height="143.14px" viewBox="0 0 837.727 143.14"
enable-background="new 0 0 837.727 143.14"
xml:space="preserve">
<g id="g3301" >
<rect id="rect3303" x="8.86" y="7.732" fill="#D1D3D4" width="822.681" height="47.938"/>
<text font-family="ArialMT" y="104.26884" font-size="18"/>
<text font-family="ArialMT" x="40" y="100" font-size="16.5"> Helvetica, Medium </text>
<text font-family="ArialMT" font-size="18"/>
<text id="text3343" font-family="Arial-BoldMT"
x="50" y="36" font-size="16.5"> NAME, WEIGHT </text>
<text id="text3345" font-family="Arial-BoldMT" y="36" x="475" font-size="16.5"> EXAMPLE TEXT </text>
<g id="g3347">
<text font-family="ArialMT" font-size="18"/>
<text font-family="Helvetica"
x="300" y="100"
font-size="16.5"> Create and Run a Test Case to Execute the Sequence File </text>
</g>
<g id="g3387">
<path id="path3389" fill="#D1D3D4"
d="M827.227,10.5v122.14H10.5V10.5H827.227 M837.727,0H0v143.14h837.727V0L837.727,0z"/>
</g>
<line id="line3391" fill="none" stroke="#D1D3D4"
stroke-width="7" stroke-miterlimit="10"
x1="308.86" y1="0" x2="308.86" y2="143.14"/>
<line id="line3393" fill="none" stroke="#FFFFFF"
stroke-width="2" stroke-miterlimit="10"
x1="308.86" y1="5.922" x2="308.86" y2="50.412"/>
</g>
</svg>