Bug 14319

Summary: Three problems in custom font metrics-file and embed-file value
Product: Fop - Now in Jira Reporter: Xingren Ying <xingren.ying>
Component: pdfAssignee: fop-dev
Status: CLOSED FIXED    
Severity: major CC: dlin, oleg
Priority: P3    
Version: 0.20.4   
Target Milestone: ---   
Hardware: All   
OS: All   

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