Hi all, I just checked in some changes to the postcript code in CVS. The code now outputs a bare minimum of the DSC (Document Structuring Conventions) comments. At the moment it emits the document creator, creation date, title, author, bounding box, and number of pages. I have defaulted all those values to things I found in the environment. The only `hack' at the moment is the bounding box. It's set based on the paper size, and not by the actual extents of the marks made on the page. The function world_get_complex_bounds() looks like it will do the trick, but I don't want to re-do the scale calculations in f_print() again, as the logic looks somewhat complex. I will look for a way to re-factor this code and come up with a strategy. For now, whats in there seems to work okay in ghostview for both portrait and landscape. It also appears to select the page size appropriately. This should fix most of the ps2pdf problems people are experiencing.
Mike -------------------------------------------------- Mike Jarabek FPGA/ASIC Designer http://www.istop.com/~mjarabek --------------------------------------------------