Hi

the files to embed need to be parsed for the fonts to be loaded. You 
need to insert a little script in fonttest.svg:

<script><![CDATA[
function init(evt) {
 svgdoc=evt.getTarget().getOwnerDocument();
}
function load_svg(url,ID) {
 getURL(url, callback);
 function callback(data) {
  svgdoc.documentElement.getElementById(ID).appendChild(parseXML 
(data.content, svgdoc));
 }
}
]]></script>

See also other small changes in file for this to work. The working 
folder "fonttest_rev.zip" has been uploaded. I haven't tried to make 
it work with the <image> element. I used <g> instead.

Domenico


--- In [email protected], "Katherine  Maguire" 
<[EMAIL PROTECTED]> wrote:
> 
> Hi
> 
> We include other svg files using the image tag, the fonts in the 
> external file are not loaded.
> 
> <image x="20" y="5" width="141.7325" height="15" 
> xlink:href="457096_266874.svg" id="_H00495660NL"/>
> 
> When viewing the fonttest.svg, the symbol fonts are shown as 
normal 
> charactors instead of symbols.
> 
> Does anyone know why this does not work, when 457096_266874.svg is 
> viewed in IE by itself it views correctly but as part of 
fonttest.svg 
> it views which incorrect fonts.
> 
> I have uploaded fonttest.zip, which contains fonttest.svg and 
> 457096_266874.svg plus fonts.
> 
> Thank you
> 
> Katherine





-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to