Moderators: Derry, Goldie, Harpo
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
D_L
Honorary Mechanic
Picture of D_L
Posted
I have added a new font into my Winnt\fonts folder .. (Tengwar Cursive archive .. just for experimenting) ..

but when I view the SVG script, the CSS style type font-family is always "Times Roman" .. regardless of font-family actually used or displayed in SVG (see in quotes below).

Why Times Roman and not the actual font? Is Times Roman a default font?

thanks

D_L

quote:
<!-- Start SVG generated by IMS from Virtual Mechanics Inc.-->
<style type="text/css">
.dfltt {font-family:Times New Roman;font-size:14px;font-weight:normal;text-decoration:none;text-align:left;fill:black;}
</style>
<defs>
</defs>
<rect id="Bpage1" style="fill:#ffffff;" width="100%" height="100%"/>;

<g id="Oobj1" style="fill:none;fill-rule:evenodd;" transform="matrix(1.00,0.00,0.00,1.00,217.00,67.00)">
<text xml:space='preserve' id="Grtf1" class="dfltt" x="-198px" y=" -33px" width=" 397" height=" 66">
<tspan x=" -198px" y=" 17px" style="font-family:Tengwar Cursive;font-size: 64px;" >this is test script</tspan></text>
</g>

<!-- End IMS generated SVG.-->
 
Posts: 415 | Location: U.K. | Registered: July 06, 2003Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Derry
Posted Hide Post
Hi D_L,

Yes, it is a default font for setting font sizes and is a legacy browser issue. Not sure what the status is now, but it will be reviewed over the coming months (though it should not effect your font selection in any way).


- Derry
 
Posts: 4167 | Location: Toronto, Canada | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.