Fix #1288 "Rich Text control output in PDF is incorrect"