xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Hillion <hill...@apache.org>
Subject Re: CSS2 - Font-face
Date Tue, 27 Feb 2001 16:14:30 GMT
On Tuesday 27 February 2001 17:02, S. GAGGINI wrote:
> I try to define a font-face qut when i parse the file, i have a
> DOMException: The following document represents an invalid CSS document:
>
> My document seems fine, so why can t i parse it ?
>
> <?xml version="1.0" standalone="yes"?>
>  <svg width="400px" height="300px" xmlns = 'http://www.w3.org/2000/svg'>
>    <defs>
>      <style type="text/css">
>        <![CDATA[
>          @font-face {
>            font-family: 'Super Sans';
>            font-weight: normal;
>            font-style: italic;
>            src: url("myfont.svg#Font2") format(svg)
>          }
>        ]]>
>      </style>
>    </defs>
>    <text style="font-family: 'Super Sans'; font-weight:normal; font-style:
> italic"> Text using embedded font </text>
>  </svg>
>

Font-face rules are not supported yet, at any level.
By the way I can see you are trying to access an SVG font, but they are not 
implemented in Batik. Sorry.
--
  Stephane Hillion.

Mime
View raw message