~ubuntu-branches/ubuntu/saucy/fop/saucy-proposed

« back to all changes in this revision

Viewing changes to src/java/org/apache/fop/fonts/type1/PFBParser.java

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-05-21 12:21:26 UTC
  • mfrom: (15.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20130521122126-3c9r5fo6ountjg6r
Tags: 1:1.1.dfsg-2ubuntu1
* Merge from Debian unstable.  Remaining changes:
  -  Transition libservlet2.5-java -> libservlet3.0-java.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 * limitations under the License.
16
16
 */
17
17
 
18
 
/* $Id: PFBParser.java 679326 2008-07-24 09:35:34Z vhennebert $ */
 
18
/* $Id: PFBParser.java 1297404 2012-03-06 10:17:54Z vhennebert $ */
19
19
 
20
20
package org.apache.fop.fonts.type1;
21
21
 
 
22
import java.io.BufferedInputStream;
 
23
import java.io.DataInputStream;
22
24
import java.io.IOException;
23
25
import java.io.InputStream;
24
 
import java.io.DataInputStream;
25
 
import java.io.BufferedInputStream;
26
26
 
27
 
//Commons
28
27
import org.apache.commons.io.IOUtils;
29
28
 
30
29
/**
161
160
    }
162
161
 
163
162
 
164
 
    private static final boolean byteCmp(byte[] src, int srcOffset, byte[] cmp) {
 
163
    private static boolean byteCmp(byte[] src, int srcOffset, byte[] cmp) {
165
164
        for (int i = 0; i < cmp.length; i++) {
166
165
            // System.out.println("Compare: " + src[srcOffset + i] + " " + cmp[i]);
167
166
            if (src[srcOffset + i] != cmp[i]) {
233
232
        calcLengths(pfb, IOUtils.toByteArray(bin));
234
233
    }
235
234
 
236
 
}
 
 
b'\\ No newline at end of file'
 
235
}