Skip to content

Commit

Permalink
iText 5.5.10
Browse files Browse the repository at this point in the history
  • Loading branch information
amedee committed Oct 7, 2016
2 parents dd93ae9 + f8c176e commit 80bfa36
Show file tree
Hide file tree
Showing 879 changed files with 1,919 additions and 1,513 deletions.
651 changes: 651 additions & 0 deletions gnu-agpl-v3.0.md

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions itext/pom.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.itextpdf</groupId>
<artifactId>itext-parent</artifactId>
<version>1.0.0</version>
<relativePath></relativePath>
<relativePath />
</parent>

<artifactId>itextpdf</artifactId>
<version>5.5.9</version>
<version>5.5.10</version>
<packaging>jar</packaging>

<name>iText</name>
<name>iText Core</name>
<description>A Free Java-PDF library</description>
<url>http://itextpdf.com</url>

Expand Down Expand Up @@ -304,7 +303,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<version>2.10.3</version>
<executions>
<execution>
<id>attach-sources</id>
Expand Down Expand Up @@ -345,6 +344,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/awt/AsianFontMapper.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/awt/FontMapper.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/awt/PdfGraphics2D.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
7 changes: 6 additions & 1 deletion itext/src/main/java/com/itextpdf/testutils/CompareTool.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down Expand Up @@ -418,7 +417,13 @@ public void writeReportToXml(OutputStream stream) throws ParserConfigurationExce

public CompareTool() {
gsExec = System.getProperty("gsExec");
if (gsExec == null) {
gsExec = System.getenv("gsExec");
}
compareExec = System.getProperty("compareExec");
if (compareExec == null) {
compareExec = System.getenv("compareExec");
}
}

private String compare(String outPath, String differenceImagePrefix, Map<Integer, List<Rectangle>> ignoredAreas) throws IOException, InterruptedException, DocumentException {
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/testutils/ITextTest.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/Anchor.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/Annotation.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/BaseColor.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/Chapter.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/Chunk.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/DocListener.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/DocWriter.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/Document.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/Element.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/ElementListener.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/Font.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/FontFactory.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/FontFactoryImp.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/FontProvider.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/GreekList.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/Header.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
20 changes: 18 additions & 2 deletions itext/src/main/java/com/itextpdf/text/Image.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down Expand Up @@ -2123,8 +2122,25 @@ public static Image getInstance(final java.awt.Image image, final java.awt.Color
transparency[0] = transparency[1] = transparentPixel >> 16 & 0xff;
transparency[2] = transparency[3] = transparentPixel >> 8 & 0xff;
transparency[4] = transparency[5] = transparentPixel & 0xff;
// Added by Michael Klink
// Check whether this value for transparent pixels
// has already been used for a non-transparent one
// before this position
for (int prevPixel = 0; prevPixel < j; prevPixel++) {
if ((pixels[prevPixel] & 0xffffff) == transparentPixel) {
// found a prior use of the transparentPixel color
// and, therefore, cannot make use of this color
// for transparency; we could still use an image
// mask but for simplicity let's use a soft mask
// which already is implemented here
shades = true;
break;
}
}
}
} else if ((pixels[j] & 0xffffff) != transparentPixel) {
} else if (((pixels[j] & 0xffffff) != transparentPixel) && (alpha == 0)) {
shades = true;
} else if (((pixels[j] & 0xffffff) == transparentPixel) && (alpha != 0)) {
shades = true;
}
}
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/ImgCCITT.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/ImgJBIG2.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/ImgRaw.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/ImgTemplate.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/ImgWMF.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/Jpeg.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/Jpeg2000.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/LargeElement.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/List.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/ListBody.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/ListItem.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/ListLabel.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/MarkedObject.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/MarkedSection.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/Meta.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/PageSize.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/Paragraph.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/Phrase.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/Rectangle.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
1 change: 0 additions & 1 deletion itext/src/main/java/com/itextpdf/text/RomanList.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
Expand Down
Loading

0 comments on commit 80bfa36

Please sign in to comment.