script for generating calibration target pdfs. needs a lot of work. see header comments for description of known issues.