Hi igor, Thank you very much for helping me. I tried all day since i read yout post to build a small sample that shows the problem in detail, but i didnt get it.
All samples i made seem to function properly but i definitly think its not a bug in the application FOP. It must be something in the Java2d stuff. Do you know the FOP Project? I made a sample that shows the problem in general: 3 Things are necessary! first the fop packages from the fop project. here: http://www.apache.org/dyn/closer.cgi/xmlgraphics/fop secound a file called borders.fo to copy to C:\\borders.fo the file is in the downloaded zip-archive and third this file: ExampleAWTViewer.java package test; import java.io.File; import java.io.IOException; import javax.xml.transform.Transformer; import javax.xml.transform.TransformerFactory; import javax.xml.transform.TransformerException; import javax.xml.transform.Source; import javax.xml.transform.Result; import javax.xml.transform.stream.StreamSource; import javax.xml.transform.sax.SAXResult; import org.apache.avalon.framework.ExceptionUtil; import org.apache.fop.apps.FOPException; import org.apache.fop.apps.Fop; import org.apache.fop.apps.FopFactory; import org.apache.fop.apps.MimeConstants; public class ExampleAWTViewer { private FopFactory fopFactory = FopFactory.newInstance(); public void viewFO(File fo) throws IOException, FOPException, TransformerException { Fop fop = fopFactory.newFop(MimeConstants.MIME_FOP_AWT_PREVIEW); try { TransformerFactory factory = TransformerFactory.newInstance(); Transformer transformer = factory.newTransformer(); Source src = new StreamSource(fo); Result res = new SAXResult(fop.getDefaultHandler()); transformer.transform(src, res); } catch (Exception e) { if (e instanceof FOPException) { throw (FOPException) e; } throw new FOPException(e); } } public static void main(String[] args) { try { //File C:\\borders.fo File baseDir = new File("C:\\"); File outDir = new File(baseDir, "out"); outDir.mkdirs(); File fofile = new File(baseDir, "borders.fo"); ExampleAWTViewer app = new ExampleAWTViewer(); app.viewFO(fofile); } catch (Exception e) { System.err.println(ExceptionUtil.printStackTrace(e)); System.exit(-1); } } } If you start the prog and use the zoom functionality in the viewer you realize that some thin lines are dissapearing. In page 4 the blue table for example. I also had this problem with an other prog from www.jpedal.org a PDF Viewer And i think it must be the same prob like in the FOP prog. The guys from jpedal solved it with an hack they told me, but they didnt tell me in detail. They told me that they had to hack the clipping code to allow lines almost a pixel wide to appear. Heres the link of the discussion starting on the bottom on the first page: http://www.jpedal.org/phpBB2/viewtopic.php?t=337&postdays=0&postorder=asc&start=12 If i get a smaller sample working with the bug i post it here. thx in advance =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".