aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fonts/autodetect/FontInfoFinder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fonts/autodetect/FontInfoFinder.java')
-rw-r--r--src/java/org/apache/fop/fonts/autodetect/FontInfoFinder.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fonts/autodetect/FontInfoFinder.java b/src/java/org/apache/fop/fonts/autodetect/FontInfoFinder.java
index 7f666b0a2..ebde373b8 100644
--- a/src/java/org/apache/fop/fonts/autodetect/FontInfoFinder.java
+++ b/src/java/org/apache/fop/fonts/autodetect/FontInfoFinder.java
@@ -131,6 +131,13 @@ public class FontInfoFinder {
return style;
}
+ /**
+ * Attempts to determine FontInfo from a given custom font
+ * @param fontUri the font URI
+ * @param customFont the custom font
+ * @param fontCache font cache (may be null)
+ * @return FontInfo from the given custom font
+ */
private EmbedFontInfo getFontInfoFromCustomFont(URI fontUri, CustomFont customFont,
FontCache fontCache, InternalResourceResolver resourceResolver) {
List<FontTriplet> fontTripletList = new java.util.ArrayList<FontTriplet>();