Dear Alex,
Thank you for your question about the UCSC Genome Browser. We generate postscript .ps or encapsulated postscript .eps output, and then run a standard Unix utility that converts it to .pdf.
The postscript routines can be found here:http://genome-source.cse.ucsc.edu/gitweb/?p=kent.git;a=tree;f=src/lib. The files are named:
pscmGfx.c // virtualization layer
psGfx.c // post script routines
psPoly.c // tiny little polygon thing.
When browsing this code, it may also be helpful to keep in mind the following README:http://genome-source.cse.ucsc.edu/gitweb/?p=kent.git;a=blob;f=src/README. I hope this is helpful. If you have any further questions, please reply to gen...@soe.ucsc.edu. All messages sent to that address are archived on a publicly-accessible Google Groups forum. If your question includes sensitive data, you may send it instead to genom...@soe.ucsc.edu.
-Chris V
UCSC Genome Browser