Hi,
i think there is a bug in CMapParser.java see at the following Code:
private void readUntilEndOfLine( InputStream is, StringBuffer buf ) throws
IOException
379 {
380 int nextByte = is.read();
381 while( nextByte != -1 && nextByte != 0x0D && nextByte != 0x0D )
382 {
383 buf.append( (char)nextByte );
384 nextByte = is.read();
385 }
386 }
Should be changed to:
private void readUntilEndOfLine( InputStream is, StringBuffer buf ) throws
IOException
379 {
380 int nextByte = is.read();
381 while( nextByte != -1 && nextByte != 0x0D && nextByte != 0x0A )
382 {
383 buf.append( (char)nextByte );
384 nextByte = is.read();
385 }
386 }
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/