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

how to write svg text with embedded font in xhtml

From: Lorenzo De Tomasi <lorenzo.detomasi@libero.it>
Date: Thu, 20 Mar 2003 11:21:24 +0100
To: <www-svg@w3.org>
Message-ID: <BA9F5278.3BF3%lorenzo.detomasi@libero.it>

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.
____________________________________________________________________________
Lorenzo De Tomasi, student of Information Architecture, Interface Design and
Visual Design
via Bellaria 6, 21018 Sesto Calende (Varese), Italia
phone: +39 (0)331 924649
mobile: +39 329 3941065; +39 333 8979304
e-mail: lorenzo.detomasi@libero.it; lorenzo.detomasi@email.it
website: http://biografica.tzone.it
ICQ uin: 11313132
Yahoo! Instant Messenger id: tummait
Received on Thursday, 20 March 2003 05:21:31 GMT

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