aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/svg/PDFGraphics2D.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/svg/PDFGraphics2D.java')
-rw-r--r--src/java/org/apache/fop/svg/PDFGraphics2D.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/svg/PDFGraphics2D.java b/src/java/org/apache/fop/svg/PDFGraphics2D.java
index e4e4a2f37..c992d51aa 100644
--- a/src/java/org/apache/fop/svg/PDFGraphics2D.java
+++ b/src/java/org/apache/fop/svg/PDFGraphics2D.java
@@ -1208,7 +1208,7 @@ public class PDFGraphics2D extends AbstractGraphics2D {
}
int siz = gFont.getSize();
String style = gFont.isItalic() ? "italic" : "normal";
- int weight = gFont.isBold() ? Document.BOLD : Document.NORMAL;
+ int weight = gFont.isBold() ? Font.BOLD : Font.NORMAL;
String fname = fontInfo.fontLookup(n, style, weight);
FontMetrics metrics = fontInfo.getMetricsFor(fname);
fontState = new Font(fname, metrics, siz * 1000);