Bug 14319 - Three problems in custom font metrics-file and embed-file value
Summary: Three problems in custom font metrics-file and embed-file value
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: 0.20.4
Hardware: All All
: P3 major
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
: 10287 11838 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-06 23:24 UTC by Xingren Ying
Modified: 2012-04-01 07:11 UTC (History)
2 users (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xingren Ying 2002-11-06 23:24:31 UTC
When specify a new font in userconfig.xml, there are three problems for 
metrices-file and embed-file attribute value.

1. The value is added "none" prefix if it is relativeURL and baseDIr has not 
been specified.
2. The protocol prefix of this value is stripped off.  So, it cannot support 
non-file protocol.
3. It cannot support XML parser other than xerces if it requires protocol 
prefix for SystemId value in SAX interface implementation.

All problems are in org.apache.fop.configuration.FontInfo class.  Casper has 
report a workarround in Bug #12854.  But prefered has solution for not 
stripping protocol part of this value in getMetricsFile() and getEmbedFile() 
method.
Comment 1 Oleg Tkachenko 2002-11-21 16:54:30 UTC
*** Bug 10287 has been marked as a duplicate of this bug. ***
Comment 2 Oleg Tkachenko 2002-11-21 17:04:45 UTC
*** Bug 11838 has been marked as a duplicate of this bug. ***
Comment 3 Oleg Tkachenko 2002-11-22 00:07:50 UTC
Fixed in cvs. Thanks to Jeremias.
I verified it with com.icl.saxon.aelfred.SAXDriver, works fine.
Comment 4 Glenn Adams 2012-04-01 07:11:25 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed