Alexander Filipchik wrote: > Think, I found cause the problem. > I experimented with simple pdf, and removing > > writer.setDefaultColorspace(PdfName.COLORSPACE, PdfName.DEFAULTCMYK) > > helped me generate printable PDF.
You're not using the method correctly. Please read the Javadoc API: http://www.1t3xt.info/api/com/lowagie/text/pdf/PdfWriter.html#setDefaultColorspace(com.lowagie.text.pdf.PdfName,%20com.lowagie.text.pdf.PdfObject) Please let us know if you found an example somewhere that used the method the way you did, so that we can (ask to) remove it. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ 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 asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.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/
