Hi Archie,

[EMAIL PROTECTED] wrote on 05/14/2007 05:30:06 PM:

> I have an SVG document which simply includes several other (let's say
> 10) SVG documents using tags like <image xlink:href="otherdoc1.svg"/>,
> etc.
> 
> The 10 other included documents all want to use glyphs from the same
> small set (let's say 4) of SVG fonts, which are themselves defined in
> 4 SVG files.
> 
> However, I cannot get this to work because of these problems:

   Yes, in Batik right now each document is an island.  In general
I agree that it would be good if we made your use case more efficient.
Probably by caching the font data based on the URL so we wouldn't create
40 copies of the font data.

   The main concern with this sort of setup is security, as you need
to ensure that all of the documents referencing the font actually have
permission to access that data.

> So my question is simply how do I define an SVG font and reference it
> from multiple included documents without blowing up memory because the
> font is duplicated so many times??

   Right now you can't.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to