diff options
Diffstat (limited to 'src/java/org/apache/fop/render/java2d/FontSetup.java')
-rw-r--r-- | src/java/org/apache/fop/render/java2d/FontSetup.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/java2d/FontSetup.java b/src/java/org/apache/fop/render/java2d/FontSetup.java index df6e4a0de..5637bdee2 100644 --- a/src/java/org/apache/fop/render/java2d/FontSetup.java +++ b/src/java/org/apache/fop/render/java2d/FontSetup.java @@ -222,6 +222,15 @@ public class FontSetup { continue; //skip } + if (log.isTraceEnabled()) { + log.trace("AWT Font: " + f.getFontName() + + ", family: " + f.getFamily() + + ", PS: " + f.getPSName() + + ", Name: " + f.getName() + + ", Angle: " + f.getItalicAngle() + + ", Style: " + f.getStyle()); + } + String searchName = FontUtil.stripWhiteSpace(f.getFontName()).toLowerCase(); String guessedStyle = FontUtil.guessStyle(searchName); int guessedWeight = FontUtil.guessWeight(searchName); |