Hey guys,
Thanks soo much!
It worked. Yesterday, I had 'Saved As' the Type 1 font as well as the TTF
fonts as SVG. But that didn't save in XML format.
Today, I opened the TTF file in FontForge, instead of Type, as you
suggested. I then clicked on 'Generated Font' and could see SVG as one of
the options. And voila - I could see the perfect SVG generated out of TTF.
If you don't mind can you help me out with one last trivial question. I have
to use 3 fonts in my XSL and I don't want to cut paste the whole SVG in my
XSL.
I tried to use the font-face atribute but couldn' get get it working.
Here are a couple of variations of code I used for font-face attribute:
<style type="text/css">
.text1 {
@font-face {
font-family: 'Sabon';
src: url("Sabon-Roman.svg#Sabon-Roman") format(svg)
}
}
.text2 {
@font-face {
font-family: 'Sabon';
src: url("Sabon-Roman.svg")
}
}
</style>
And then I used text1 as the class attribute here:
<g id="title1">
<text class="text1" >
<xsl:value-of select="/addresses/myname" />
</text>
</g>
I have tried giving the absolute path as well as the relative path for
pointing the SVG file.
What am I doing wrong here? I am just following the steps listed on the
online resource:
http://www.w3.org/TR/SVG/fonts.html#FontElement
Thanks a lot for all your help, I really appreciate it! I am new to open
source and I have started loving this community that helps each other out!
Thanks,
Hiral
-----Original Message-----
From: Thomas DeWeese [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 27, 2005 9:29 PM
To: [email protected]
Subject: Re: Problem converting TTF to SVG
Hi Hiral,
Try it again, I just got the latest version and tried saving a font as
SVG and got a nice SVG font. Also did you try referencing the TrueType font
directly from your SVG?
Hiral Parikh wrote:
> Andreas,
> I could save it as SVG, but it doesn't seem to be a normal SVG file.
> It does not have any XML tags. On opening the file on a browser, it
> does not display the fonts. It shows the fonts for that file in FontForge
only.
> Here are the first few lines of the SVG:
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]