aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/DefaultFontResolver.java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2009-03-23 07:54:43 +0000
committerJeremias Maerki <jeremias@apache.org>2009-03-23 07:54:43 +0000
commita5f60685ab8de7d45795f98ed52da166464c093e (patch)
tree2ecdf48336d52265dc02710d53f5d8dcba3b0ea3 /src/java/org/apache/fop/render/DefaultFontResolver.java
parenta384002ccf7b6021ce82abe49f8621dc4aa17b84 (diff)
downloadxmlgraphics-fop-a5f60685ab8de7d45795f98ed52da166464c093e.tar.gz
xmlgraphics-fop-a5f60685ab8de7d45795f98ed52da166464c093e.zip
Deprecated font base url methods on user agent level in favor of the methods on the FontManager accessible via FopFactory as proposed in:
http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/200903.mbox/%3C20090310161419.8FA8.60BA733C@jeremias-maerki.ch%3E git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757341 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/DefaultFontResolver.java')
-rw-r--r--src/java/org/apache/fop/render/DefaultFontResolver.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/DefaultFontResolver.java b/src/java/org/apache/fop/render/DefaultFontResolver.java
index 6fb7e0f01..a4960c665 100644
--- a/src/java/org/apache/fop/render/DefaultFontResolver.java
+++ b/src/java/org/apache/fop/render/DefaultFontResolver.java
@@ -41,7 +41,7 @@ public class DefaultFontResolver implements FontResolver {
/** {@inheritDoc} */
public Source resolve(String href) {
- return userAgent.resolveURI(href, userAgent.getFontBaseURL());
+ return userAgent.resolveURI(href, userAgent.getFactory().getFontManager().getFontBaseURL());
}
}