diff options
author | Jeremias Maerki <jeremias@apache.org> | 2009-03-23 07:54:43 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2009-03-23 07:54:43 +0000 |
commit | a5f60685ab8de7d45795f98ed52da166464c093e (patch) | |
tree | 2ecdf48336d52265dc02710d53f5d8dcba3b0ea3 /src/java/org/apache/fop/render/DefaultFontResolver.java | |
parent | a384002ccf7b6021ce82abe49f8621dc4aa17b84 (diff) | |
download | xmlgraphics-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.java | 2 |
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()); } } |