"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "fontbox/src/main/java/org/apache/fontbox/cff/CFFType1Font.java" between
pdfbox-2.0.23-src.zip and pdfbox-2.0.24-src.zip

About: Apache PDFBox is a Java PDF library tool that allows creation of new PDF documents, manipulation of existing documents and the ability to extract content from documents.

CFFType1Font.java  (pdfbox-2.0.23-src):CFFType1Font.java  (pdfbox-2.0.24-src)
skipping to change at line 208 skipping to change at line 208
} }
// helper for looking up keys/values // helper for looking up keys/values
private Object getProperty(String name) private Object getProperty(String name)
{ {
Object topDictValue = topDict.get(name); Object topDictValue = topDict.get(name);
if (topDictValue != null) if (topDictValue != null)
{ {
return topDictValue; return topDictValue;
} }
Object privateDictValue = privateDict.get(name); return privateDict.get(name);
if (privateDictValue != null)
{
return privateDictValue;
}
return null;
} }
private int getDefaultWidthX() private int getDefaultWidthX()
{ {
Number num = (Number)getProperty("defaultWidthX"); Number num = (Number)getProperty("defaultWidthX");
if (num == null) if (num == null)
{ {
return 1000; return 1000;
} }
return num.intValue(); return num.intValue();
 End of changes. 1 change blocks. 
6 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)