using pdf for resume preview