pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1868304 - /pdfbox/branches/issue4569/fontbox/src/main/java/org/apache/fontbox/ttf/OS2WindowsMetricsTable.java
Date Fri, 11 Oct 2019 17:09:15 GMT
Author: tilman
Date: Fri Oct 11 17:09:15 2019
New Revision: 1868304

URL: http://svn.apache.org/viewvc?rev=1868304&view=rev
Log:
PDFBOX-4667: set Unicode Character Range defaults to 0 because -1 = FFFFFFFFF = all fonts
would match

Modified:
    pdfbox/branches/issue4569/fontbox/src/main/java/org/apache/fontbox/ttf/OS2WindowsMetricsTable.java

Modified: pdfbox/branches/issue4569/fontbox/src/main/java/org/apache/fontbox/ttf/OS2WindowsMetricsTable.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue4569/fontbox/src/main/java/org/apache/fontbox/ttf/OS2WindowsMetricsTable.java?rev=1868304&r1=1868303&r2=1868304&view=diff
==============================================================================
--- pdfbox/branches/issue4569/fontbox/src/main/java/org/apache/fontbox/ttf/OS2WindowsMetricsTable.java
(original)
+++ pdfbox/branches/issue4569/fontbox/src/main/java/org/apache/fontbox/ttf/OS2WindowsMetricsTable.java
Fri Oct 11 17:09:15 2019
@@ -764,8 +764,8 @@ public class OS2WindowsMetricsTable exte
     private int typoLineGap;
     private int winAscent;
     private int winDescent;
-    private long codePageRange1 = -1;
-    private long codePageRange2 = -1;
+    private long codePageRange1 = 0;
+    private long codePageRange2 = 0;
     private int sxHeight;
     private int sCapHeight;
     private int usDefaultChar;



Mime
View raw message