W3C home > Mailing lists > Public > www-svg@w3.org > March 2003

Re: how to write svg text with embedded font in xhtml

From: Lorenzo De Tomasi <detomasi.liste@libero.it>
Date: Sun, 23 Mar 2003 18:13:11 +0100
To: <www-svg@w3.org>
Message-ID: <BAA3A9B6.3E82%detomasi.liste@libero.it>
on 21-03-2003 1:03, Chris Lilley at chris@w3.org wrote:

> Oh. Since you were using advanced features of a language that is still
> in its early working drafts, I made a guess at how much explanation
> was needed.
> 
> OK to step back slightly  - do you need this to work in existing
> legacy browsers or are you discussing (and perhaps implementing) how
> it should be done in the future?

in existing browsers... Better if Netscape 7 or Mozilla for Mac
But if you want to explain me how it should be done in the future I can
contribute to the discussion...
Thank you very much :)

____________________________________________________________________________
I want to insert some editable svg text in a specific font in xhtml.
What I would like is to set a svg style one time that specifies color and
font, better if linked to the xhtml
and then apply it to some text in different points of the xhtml.
How can I?

I attach an svg file with an example of what I want to obtain in the <h> tag
in the following example. The font is embedded in the file

Here a simplified example:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
external style "h" file:
                            font: Info-Office (embed font)
                            font color: orange
                            font size: 18px
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
xhtml file:

<html>
<head>
    <link to style "h"/>
</head>

<body>
    <section>
        <h>
            <svg text with style "h" applied>Iscriviti</svg>
        </h>
        <p>...</p>
    </section>
    <section>
        <h>
            <svg text with style "h" applied>Login</svg>
        </h>
        <p>...</p>
    </section>
</body>

</html>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Thank you very much. 






h.svg
(image/svg attachment: 02-h.svg)

Received on Sunday, 23 March 2003 12:19:20 GMT

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