You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Rob Hinst <ro...@exobitnetworks.com> on 2007/04/20 23:23:20 UTC

External Fonts

Hi,

I had some problems with this a few weeks ago and thought I had it worked
out, but it appears I don't. I'm trying to get external font files to work
properly in my SVG documents.

I converted a TTF font to SVG format using batik-ttf2svg. The resulting file
is here:

http://clients.exobitnetworks.com/ipi/american.svg

And I have a .svg file that attempts to render some text in that font. The
file is here:

http://clients.exobitnetworks.com/ipi/fonts.svg

I've tried viewing in Firefox, IE, and Squiggle to no avail. 

I used http://www.w3.org/TR/SVG/fonts.html as a reference for accessing the
external font file from my svg document, so I would think that's correct.

This is for a project that's way past deadline and I've been puzzling over
it for a while now, so any help would be much appreciated. 

Thanks,

Rob


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


RE: External Fonts

Posted by th...@kodak.com.
Hi Rob,
    I Suspect FireFox doesn't support SVG Fonts at all yet.
   But with the SVG Font in the Defs section it should work in ASV.

"Rob Hinst" <ro...@exobitnetworks.com> wrote on 04/20/2007 07:49:22 PM:

> Hm, I tried putting the font definition in the <defs> section of the SVG
> document itself, but the results are the same. Squiggle views it ok, but 
no
> go on firefox. Thanks for the suggestion, though.
> 
> 
> -----Original Message-----
> From: G. Wade Johnson [mailto:gwadej@anomaly.org] 
> Sent: Friday, April 20, 2007 7:34 PM
> To: batik-users@xmlgraphics.apache.org
> Subject: Re: External Fonts
> 
> On Fri, 20 Apr 2007 19:22:21 -0400
> "Rob Hinst" <ro...@exobitnetworks.com> wrote:
> 
> > Small revision - it appears to work in squiggle now, but not in 
> > Firefox or IE. Do these browsers not support external svg fonts?
> 
> I remember a problem from a long time ago where you could not reference 
an
> element inside another SVG file in the Adobe SVG Viewer plugin. I don't 
know
> if the same issue applies to fonts.
> 
> G. Wade 
> 
> > 
> > 
> > -----Original Message-----
> > From: Rob Hinst [mailto:rob@exobitnetworks.com]
> > Sent: Friday, April 20, 2007 7:19 PM
> > To: batik-users@xmlgraphics.apache.org
> > Subject: RE: External Fonts
> > 
> > Thanks, good catch - but it's still not working even with that typo 
> > fixed. =(
> > 
> > -----Original Message-----
> > From: archie.cobbs@gmail.com [mailto:archie.cobbs@gmail.com] On Behalf 

> > Of Archie Cobbs
> > Sent: Friday, April 20, 2007 5:30 PM
> > To: batik-users@xmlgraphics.apache.org
> > Subject: Re: External Fonts
> > 
> > Looks like there is a typo... this:
> > 
> >    http://clients.exobitnetworks.com/ipi/american.svg#american.svg
> > 
> > should be this:
> > 
> >   http://clients.exobitnetworks.com/ipi/american.svg#american
> > 
> > On 4/20/07, Rob Hinst <ro...@exobitnetworks.com> wrote:
> > > Hi,
> > >
> > > I had some problems with this a few weeks ago and thought I had it 
> > > worked out, but it appears I don't. I'm trying to get external font 
> > > files to work properly in my SVG documents.
> > >
> > > I converted a TTF font to SVG format using batik-ttf2svg. The 
> > > resulting file is here:
> > >
> > > http://clients.exobitnetworks.com/ipi/american.svg
> > >
> > > And I have a .svg file that attempts to render some text in that 
> > > font. The file is here:
> > >
> > > http://clients.exobitnetworks.com/ipi/fonts.svg
> > >
> > > I've tried viewing in Firefox, IE, and Squiggle to no avail.
> > >
> > > I used http://www.w3.org/TR/SVG/fonts.html as a reference for 
> > > accessing the external font file from my svg document, so I would 
> > > think
> > that's correct.
> > >
> > > This is for a project that's way past deadline and I've been 
> > > puzzling over it for a while now, so any help would be much 
> > > appreciated.
> > >
> > > Thanks,
> > >
> > > Rob
> > >
> > >
> > > --------------------------------------------------------------------
> > > -
> > > To unsubscribe, e-mail:
> > > batik-users-unsubscribe@xmlgraphics.apache.org For additional 
> > > commands, e-mail: batik-users-help@xmlgraphics.apache.org
> > >
> > >
> > 
> > 
> 
> --
> Ever wonder why the SAME PEOPLE make up ALL the conspiracy theories?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


RE: External Fonts

Posted by Rob Hinst <ro...@exobitnetworks.com>.
Hm, I tried putting the font definition in the <defs> section of the SVG
document itself, but the results are the same. Squiggle views it ok, but no
go on firefox. Thanks for the suggestion, though.
 

-----Original Message-----
From: G. Wade Johnson [mailto:gwadej@anomaly.org] 
Sent: Friday, April 20, 2007 7:34 PM
To: batik-users@xmlgraphics.apache.org
Subject: Re: External Fonts

On Fri, 20 Apr 2007 19:22:21 -0400
"Rob Hinst" <ro...@exobitnetworks.com> wrote:

> Small revision - it appears to work in squiggle now, but not in 
> Firefox or IE. Do these browsers not support external svg fonts?

I remember a problem from a long time ago where you could not reference an
element inside another SVG file in the Adobe SVG Viewer plugin. I don't know
if the same issue applies to fonts.

G. Wade 

> 
> 
> -----Original Message-----
> From: Rob Hinst [mailto:rob@exobitnetworks.com]
> Sent: Friday, April 20, 2007 7:19 PM
> To: batik-users@xmlgraphics.apache.org
> Subject: RE: External Fonts
> 
> Thanks, good catch - but it's still not working even with that typo 
> fixed. =(
> 
> -----Original Message-----
> From: archie.cobbs@gmail.com [mailto:archie.cobbs@gmail.com] On Behalf 
> Of Archie Cobbs
> Sent: Friday, April 20, 2007 5:30 PM
> To: batik-users@xmlgraphics.apache.org
> Subject: Re: External Fonts
> 
> Looks like there is a typo... this:
> 
>    http://clients.exobitnetworks.com/ipi/american.svg#american.svg
> 
> should be this:
> 
>   http://clients.exobitnetworks.com/ipi/american.svg#american
> 
> On 4/20/07, Rob Hinst <ro...@exobitnetworks.com> wrote:
> > Hi,
> >
> > I had some problems with this a few weeks ago and thought I had it 
> > worked out, but it appears I don't. I'm trying to get external font 
> > files to work properly in my SVG documents.
> >
> > I converted a TTF font to SVG format using batik-ttf2svg. The 
> > resulting file is here:
> >
> > http://clients.exobitnetworks.com/ipi/american.svg
> >
> > And I have a .svg file that attempts to render some text in that 
> > font. The file is here:
> >
> > http://clients.exobitnetworks.com/ipi/fonts.svg
> >
> > I've tried viewing in Firefox, IE, and Squiggle to no avail.
> >
> > I used http://www.w3.org/TR/SVG/fonts.html as a reference for 
> > accessing the external font file from my svg document, so I would 
> > think
> that's correct.
> >
> > This is for a project that's way past deadline and I've been 
> > puzzling over it for a while now, so any help would be much 
> > appreciated.
> >
> > Thanks,
> >
> > Rob
> >
> >
> > --------------------------------------------------------------------
> > -
> > To unsubscribe, e-mail:
> > batik-users-unsubscribe@xmlgraphics.apache.org For additional 
> > commands, e-mail: batik-users-help@xmlgraphics.apache.org
> >
> >
> 
> 

--
Ever wonder why the SAME PEOPLE make up ALL the conspiracy theories?

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: External Fonts

Posted by "G. Wade Johnson" <gw...@anomaly.org>.
On Fri, 20 Apr 2007 19:22:21 -0400
"Rob Hinst" <ro...@exobitnetworks.com> wrote:

> Small revision - it appears to work in squiggle now, but not in
> Firefox or IE. Do these browsers not support external svg fonts? 

I remember a problem from a long time ago where you could not reference
an element inside another SVG file in the Adobe SVG Viewer plugin. I
don't know if the same issue applies to fonts.

G. Wade 

> 
> 
> -----Original Message-----
> From: Rob Hinst [mailto:rob@exobitnetworks.com] 
> Sent: Friday, April 20, 2007 7:19 PM
> To: batik-users@xmlgraphics.apache.org
> Subject: RE: External Fonts
> 
> Thanks, good catch - but it's still not working even with that typo
> fixed. =( 
> 
> -----Original Message-----
> From: archie.cobbs@gmail.com [mailto:archie.cobbs@gmail.com] On
> Behalf Of Archie Cobbs
> Sent: Friday, April 20, 2007 5:30 PM
> To: batik-users@xmlgraphics.apache.org
> Subject: Re: External Fonts
> 
> Looks like there is a typo... this:
> 
>    http://clients.exobitnetworks.com/ipi/american.svg#american.svg
> 
> should be this:
> 
>   http://clients.exobitnetworks.com/ipi/american.svg#american
> 
> On 4/20/07, Rob Hinst <ro...@exobitnetworks.com> wrote:
> > Hi,
> >
> > I had some problems with this a few weeks ago and thought I had it 
> > worked out, but it appears I don't. I'm trying to get external font 
> > files to work properly in my SVG documents.
> >
> > I converted a TTF font to SVG format using batik-ttf2svg. The 
> > resulting file is here:
> >
> > http://clients.exobitnetworks.com/ipi/american.svg
> >
> > And I have a .svg file that attempts to render some text in that
> > font. The file is here:
> >
> > http://clients.exobitnetworks.com/ipi/fonts.svg
> >
> > I've tried viewing in Firefox, IE, and Squiggle to no avail.
> >
> > I used http://www.w3.org/TR/SVG/fonts.html as a reference for 
> > accessing the external font file from my svg document, so I would 
> > think
> that's correct.
> >
> > This is for a project that's way past deadline and I've been
> > puzzling over it for a while now, so any help would be much
> > appreciated.
> >
> > Thanks,
> >
> > Rob
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > batik-users-unsubscribe@xmlgraphics.apache.org For additional
> > commands, e-mail: batik-users-help@xmlgraphics.apache.org
> >
> >
> 
> 

-- 
Ever wonder why the SAME PEOPLE make up ALL the conspiracy theories?

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


RE: External Fonts

Posted by Rob Hinst <ro...@exobitnetworks.com>.
Small revision - it appears to work in squiggle now, but not in Firefox or
IE. Do these browsers not support external svg fonts? 


-----Original Message-----
From: Rob Hinst [mailto:rob@exobitnetworks.com] 
Sent: Friday, April 20, 2007 7:19 PM
To: batik-users@xmlgraphics.apache.org
Subject: RE: External Fonts

Thanks, good catch - but it's still not working even with that typo fixed.
=( 

-----Original Message-----
From: archie.cobbs@gmail.com [mailto:archie.cobbs@gmail.com] On Behalf Of
Archie Cobbs
Sent: Friday, April 20, 2007 5:30 PM
To: batik-users@xmlgraphics.apache.org
Subject: Re: External Fonts

Looks like there is a typo... this:

   http://clients.exobitnetworks.com/ipi/american.svg#american.svg

should be this:

  http://clients.exobitnetworks.com/ipi/american.svg#american

On 4/20/07, Rob Hinst <ro...@exobitnetworks.com> wrote:
> Hi,
>
> I had some problems with this a few weeks ago and thought I had it 
> worked out, but it appears I don't. I'm trying to get external font 
> files to work properly in my SVG documents.
>
> I converted a TTF font to SVG format using batik-ttf2svg. The 
> resulting file is here:
>
> http://clients.exobitnetworks.com/ipi/american.svg
>
> And I have a .svg file that attempts to render some text in that font. 
> The file is here:
>
> http://clients.exobitnetworks.com/ipi/fonts.svg
>
> I've tried viewing in Firefox, IE, and Squiggle to no avail.
>
> I used http://www.w3.org/TR/SVG/fonts.html as a reference for 
> accessing the external font file from my svg document, so I would 
> think
that's correct.
>
> This is for a project that's way past deadline and I've been puzzling 
> over it for a while now, so any help would be much appreciated.
>
> Thanks,
>
> Rob
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: 
> batik-users-help@xmlgraphics.apache.org
>
>


-- 

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


RE: External Fonts

Posted by Rob Hinst <ro...@exobitnetworks.com>.
Thanks, good catch - but it's still not working even with that typo fixed.
=( 

-----Original Message-----
From: archie.cobbs@gmail.com [mailto:archie.cobbs@gmail.com] On Behalf Of
Archie Cobbs
Sent: Friday, April 20, 2007 5:30 PM
To: batik-users@xmlgraphics.apache.org
Subject: Re: External Fonts

Looks like there is a typo... this:

   http://clients.exobitnetworks.com/ipi/american.svg#american.svg

should be this:

  http://clients.exobitnetworks.com/ipi/american.svg#american

On 4/20/07, Rob Hinst <ro...@exobitnetworks.com> wrote:
> Hi,
>
> I had some problems with this a few weeks ago and thought I had it 
> worked out, but it appears I don't. I'm trying to get external font 
> files to work properly in my SVG documents.
>
> I converted a TTF font to SVG format using batik-ttf2svg. The 
> resulting file is here:
>
> http://clients.exobitnetworks.com/ipi/american.svg
>
> And I have a .svg file that attempts to render some text in that font. 
> The file is here:
>
> http://clients.exobitnetworks.com/ipi/fonts.svg
>
> I've tried viewing in Firefox, IE, and Squiggle to no avail.
>
> I used http://www.w3.org/TR/SVG/fonts.html as a reference for 
> accessing the external font file from my svg document, so I would think
that's correct.
>
> This is for a project that's way past deadline and I've been puzzling 
> over it for a while now, so any help would be much appreciated.
>
> Thanks,
>
> Rob
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: 
> batik-users-help@xmlgraphics.apache.org
>
>


-- 

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: External Fonts

Posted by Archie Cobbs <ar...@awarix.com>.
Looks like there is a typo... this:

   http://clients.exobitnetworks.com/ipi/american.svg#american.svg

should be this:

  http://clients.exobitnetworks.com/ipi/american.svg#american

On 4/20/07, Rob Hinst <ro...@exobitnetworks.com> wrote:
> Hi,
>
> I had some problems with this a few weeks ago and thought I had it worked
> out, but it appears I don't. I'm trying to get external font files to work
> properly in my SVG documents.
>
> I converted a TTF font to SVG format using batik-ttf2svg. The resulting file
> is here:
>
> http://clients.exobitnetworks.com/ipi/american.svg
>
> And I have a .svg file that attempts to render some text in that font. The
> file is here:
>
> http://clients.exobitnetworks.com/ipi/fonts.svg
>
> I've tried viewing in Firefox, IE, and Squiggle to no avail.
>
> I used http://www.w3.org/TR/SVG/fonts.html as a reference for accessing the
> external font file from my svg document, so I would think that's correct.
>
> This is for a project that's way past deadline and I've been puzzling over
> it for a while now, so any help would be much appreciated.
>
> Thanks,
>
> Rob
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
>


-- 

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org