W3C home > Mailing lists > Public > www-svg@w3.org > June 2000

SVG-fonts

From: tobi <tobiasreif@yahoo.com>
Date: Fri, 16 Jun 2000 03:30:31 -0700 (PDT)
Message-ID: <20000616103031.26850.qmail@web4801.mail.yahoo.com>
To: www-svg@w3.org
Hi All!
(while working my way deeper into that matter:)

should this work with the adobeSVGviewer-plug-in?

(If it should, the problem probably lies in my
font-attributes)

_________________________________________
<?xml version="1.0" standalone="yes"?>
<svg viewBox="-100 -100 320 180"
xmlns =
'http://www.w3.org/2000/svg-20000303-stylable'>
 <defs>
  <font id="pinkjuice" font-face-name="pinkjuiceOL"
   units-per-em="1000" cap-height="20" x-height="20"
   ascent="0" descent="0" horiz-adv-x="100"
   text-bottom="-30" baseline="35" centerline="25"
   mathline="250" ideographic="25" hanging="0"
   topline="15" text-top="15">
   <glyph unicode="s">
    <g
style="fill:none;stroke-linejoin:round;stroke-width:8;stroke:#f0f;stroke-linecap:round">
     <g style="stroke-width:12;stroke:#000">
      <polyline points="45,15 15,15 15,25 60,25 60,35
30,35"/>
     </g>
     <polyline points="45,15 15,15 15,25 60,25 60,35
30,35"/>
    </g>
   </glyph>
  </font>
  <style type="text/css">
   <![CDATA[
    @font-face {
    font-family: "pinkjuice";
    src: url("#pinkjuice") format(svg)
    }
   ]]>
  </style>
 </defs>
 <text style="font-family: pinkjuice,pinkjuiceOL">
  s
 </text>
</svg>
___________________________________

SVG-fonts sound promising, hope they are implemented.
Tobi

=====
Tobias Reif  http://www.pinkjuice.com/svg/  http://www.pinkjuice.com/
       _/  /      
     /    /    _   /   _  /   _  /  /   /   _  /   _  /   _  /
     _/  /    /   /  /   /  /   /  /   /  /   /  /   /  /   /
   /   _ _/ _ _ _/   _ _/   _ _/ _ _  /   _ _/   _ _/   _ _/
 _/                /      /     _ _ _/  /             /

__________________________________________________
Do You Yahoo!?
Send instant messages with Yahoo! Messenger.
http://im.yahoo.com/
Received on Friday, 16 June 2000 06:31:03 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:18 GMT