Adjusting pdf positions