Added translator to pdf writer