pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r1599656 - /pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/util/autodetect/UnixFontDirFinder.java
Date Tue, 03 Jun 2014 16:20:15 GMT
Author: lehmi
Date: Tue Jun  3 16:20:15 2014
New Revision: 1599656

URL: http://svn.apache.org/r1599656
Log:
PDFBOX-2110: added missing courier font mapping 

Modified:
    pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/util/autodetect/UnixFontDirFinder.java

Modified: pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/util/autodetect/UnixFontDirFinder.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/util/autodetect/UnixFontDirFinder.java?rev=1599656&r1=1599655&r2=1599656&view=diff
==============================================================================
--- pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/util/autodetect/UnixFontDirFinder.java
(original)
+++ pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/util/autodetect/UnixFontDirFinder.java
Tue Jun  3 16:20:15 2014
@@ -53,10 +53,17 @@ public class UnixFontDirFinder extends N
         map.put("TimesNewRoman,Bold","LiberationSerif-Bold");
         map.put("TimesNewRoman,Italic","LiberationSerif-Italic");
         map.put("TimesNewRoman","LiberationSerif");
+
         map.put("Arial,BoldItalic","LiberationSans-BoldItalic");
         map.put("Arial,Italic","LiberationSans-Italic");
         map.put("Arial,Bold","LiberationSans-Bold");
         map.put("Arial","LiberationSans");
+        
+        map.put("Courier,BoldItalic","LiberationMono-BoldItalic");
+        map.put("Courier,Italic","LiberationMono-Italic");
+        map.put("Courier,Bold","LiberationMono-Bold");
+        map.put("Courier","LiberationMono");
+        
         map.put("Symbol", "OpenSymbol");
         map.put("ZapfDingbats", "Dingbats");
         return Collections.unmodifiableMap(map);



Mime
View raw message