aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fonts/LazyFont.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fonts/LazyFont.java')
-rw-r--r--src/java/org/apache/fop/fonts/LazyFont.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fonts/LazyFont.java b/src/java/org/apache/fop/fonts/LazyFont.java
index a392ae6f4..acce1e0f9 100644
--- a/src/java/org/apache/fop/fonts/LazyFont.java
+++ b/src/java/org/apache/fop/fonts/LazyFont.java
@@ -189,6 +189,12 @@ public class LazyFont extends Typeface implements FontDescriptor, Substitutable,
// ---- FontMetrics interface ----
/** {@inheritDoc} */
+ public URI getFontURI() {
+ load(true);
+ return realFont.getFontURI();
+ }
+
+ /** {@inheritDoc} */
public String getFontName() {
load(true);
return realFont.getFontName();