Author: eckardjf
Date: Thu Jul 22 16:01:06 2010
New Revision: 966717
URL:
http://svn.apache.org/viewvc?rev=966717&view=revLog:
reverting previous change, BaseURL is not the same as FontBaseURL
Modified:
ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/view/ApacheFopWorker.java
Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/view/ApacheFopWorker.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/view/ApacheFopWorker.java?rev=966717&r1=966716&r2=966717&view=diff==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/view/ApacheFopWorker.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/view/ApacheFopWorker.java Thu Jul 22 16:01:06 2010
@@ -82,10 +82,10 @@ public class ApacheFopWorker {
String fopPath = UtilProperties.getPropertyValue("fop.properties", "fop.path", ofbizHome + "/framework/webapp/config");
File userConfigFile = FileUtil.getFile(fopPath + "/fop.xconf");
fopFactory.setUserConfig(userConfigFile);
- String fopFontBaseUrl = fopFactory.getBaseURL();
+ String fopFontBaseUrl = fopFactory.getFontBaseURL();
if (fopFontBaseUrl == null) {
fopFontBaseUrl = UtilProperties.getPropertyValue("fop.properties", "fop.font.base.url", "file:///" + ofbizHome + "/framework/webapp/config/");
- fopFactory.setBaseURL(fopFontBaseUrl);
+ fopFactory.setFontBaseURL(fopFontBaseUrl);
}
Debug.logInfo("FOP-FontBaseURL: " + fopFontBaseUrl, module);
} catch (Exception e) {