Bug 39379 - Doesn't support CNF fonts
Summary: Doesn't support CNF fonts
Status: ASSIGNED
Alias: None
Product: Batik - Now in Jira
Classification: Unclassified
Component: (RFE) Request For Extension (show other bugs)
Version: 1.6
Hardware: Other other
: P5 enhancement
Target Milestone: ---
Assignee: Batik Developer's Mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-21 20:29 UTC by Christian Flanz
Modified: 2006-04-21 17:58 UTC (History)
0 users



Attachments
audiTest_2.svg is the test svg file with the font in base64 (48.66 KB, application/octet-stream)
2006-04-21 20:32 UTC, Christian Flanz
Details
dump of the wrong filled ParsedURL (45.13 KB, image/png)
2006-04-21 20:35 UTC, Christian Flanz
Details

Note You need to log in before you can comment on or make changes to this bug.
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.