pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1763472 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1Font.java
Date Wed, 05 Oct 2016 17:31:09 GMT
Author: tilman
Date: Wed Oct  5 17:31:09 2016
New Revision: 1763472

URL: http://svn.apache.org/viewvc?rev=1763472&view=rev
Log:
PDFBOX-3520: initialize logger first

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1Font.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1Font.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1Font.java?rev=1763472&r1=1763471&r2=1763472&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1Font.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1Font.java Wed
Oct  5 17:31:09 2016
@@ -57,6 +57,8 @@ import org.apache.pdfbox.pdmodel.font.en
  */
 public class PDType1Font extends PDSimpleFont implements PDVectorFont
 {
+    private static final Log LOG = LogFactory.getLog(PDType1Font.class);
+
     // todo: replace with enum? or getters?
     public static final PDType1Font TIMES_ROMAN = new PDType1Font("Times-Roman");
     public static final PDType1Font TIMES_BOLD = new PDType1Font("Times-Bold");
@@ -72,7 +74,7 @@ public class PDType1Font extends PDSimpl
     public static final PDType1Font COURIER_BOLD_OBLIQUE = new PDType1Font("Courier-BoldOblique");
     public static final PDType1Font SYMBOL = new PDType1Font("Symbol");
     public static final PDType1Font ZAPF_DINGBATS = new PDType1Font("ZapfDingbats");
-    private static final Log LOG = LogFactory.getLog(PDType1Font.class);
+
     // alternative names for glyphs which are commonly encountered
     private static final Map<String, String> ALT_NAMES = new HashMap<String, String>();
     private static final int PFB_START_MARKER = 0x80;



Mime
View raw message