Bug 39379

Summary: Doesn't support CNF fonts
Product: Batik - Now in Jira Reporter: Christian Flanz <flanz>
Component: (RFE) Request For ExtensionAssignee: Batik Developer's Mailing list <batik-dev>
Status: ASSIGNED ---    
Severity: enhancement    
Priority: P5    
Version: 1.6   
Target Milestone: ---   
Hardware: Other   
OS: other   
Attachments: audiTest_2.svg is the test svg file with the font in base64
dump of the wrong filled ParsedURL

Description Christian Flanz 2006-04-21 20:29:59 UTC
There is no Support for emded Binary source in the Batik Engine. 
Emded cnf Font are not supported.

The warper for URLs is filled with wrong data from somewhere while Loading from
the SVGDOMImplementation.getDOMImplementation()

The instance of org.apache.batik.util.ParsedURL has wrong date from Parsing.
See the screenshot of debuger (batik_wrongurlparsing.png). 


Demo data append to this issue.
Comment 1 Christian Flanz 2006-04-21 20:32:33 UTC
Created attachment 18150 [details]
audiTest_2.svg is the test svg file with the font in base64

testdata.zip has all data to reproduce, use audiTest_2.svg as main file
Comment 2 Christian Flanz 2006-04-21 20:35:18 UTC
Created attachment 18151 [details]
dump of the wrong filled ParsedURL
Comment 3 Thomas Deweese 2006-04-22 00:58:34 UTC
(In reply to comment #0)
> There is no Support for emded Binary source in the Batik Engine. 

   This is wrong, Batik supports lots of embeded binary data. Including
fonts.

> Emded cnf Font are not supported.

   CNF fonts are not supported, embeded or otherwise.  SVG, TrueType,
and apparently under JDK 1.5 Type 1 fonts _are_ supported.  If Adobe
didn't use such an proprietary format for font embedding this wouldn't
be a problem.

> The warper for URLs is filled with wrong data from somewhere while Loading 
> from the SVGDOMImplementation.getDOMImplementation()

   I'm not sure what I'm supposed to see in this.  The problem is 
that we just don't support CNF fonts, I don't see this changing any
time soon.