detect the trim marks on a PDF page