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 Bertrand Fontaine <fo...@hotmail.com> on 2002/07/24 09:41:48 UTC

Adobe Illustrator & embedded fonts

Hello!

When we produce an SVG file with embedded font using Adobe Illustrator 9.0.1 
(Windows), we have the following message when trying to display it using 
Batik viewer:

Batik version 1.5b3 reported the following exception while trying to open 
the SVG document: "invalid CSS document: DOMException: The following 
stylesheet represents an invalid css document"

Is this a known issue? Is there a workaround? We have played with the font 
converter utility but would rather prefer a solution that doesn't require us 
to alter the SVG file produced by Illustrator.

Thank you,

Bertrand

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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


Re: Adobe Illustrator & embedded fonts

Posted by Vincent Hardy <vi...@sun.com>.
Bertrand,

Yes, this is a known issue. There are two issues:

a. Illustrator 9.0 exports CEF fonts and not SVG fonts. CEF fonts are 
not part of the SVG specification and Batik only supports embeded SVG fonts.

b. Illustrator 9.0 uses @font-face rules (I think) and we do not support 
that in Batik. We only support the <font-face> element which provides 
equivalent functionality.

Vincent.

Bertrand Fontaine wrote:
> Hello!
> 
> When we produce an SVG file with embedded font using Adobe Illustrator 
> 9.0.1 (Windows), we have the following message when trying to display it 
> using Batik viewer:
> 
> Batik version 1.5b3 reported the following exception while trying to 
> open the SVG document: "invalid CSS document: DOMException: The 
> following stylesheet represents an invalid css document"
> 
> Is this a known issue? Is there a workaround? We have played with the 
> font converter utility but would rather prefer a solution that doesn't 
> require us to alter the SVG file produced by Illustrator.
> 
> Thank you,
> 
> Bertrand
> 
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org



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