# Creating PDF from Report Issue

**URL:** <https://forum.inductiveautomation.com/t/creating-pdf-from-report-issue/8781>\
**Category:** Ignition\
**Created:** [July 23, 2014, 10:46pm UTC](https://forum.inductiveautomation.com/t/creating-pdf-from-report-issue/8781 "2014-07-23T22:46:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![denji26](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/denji26/32/5805_2.png) [@denji26](https://forum.inductiveautomation.com/u/denji26)\
**Post date:** [July 23, 2014, 10:46pm UTC](https://forum.inductiveautomation.com/t/creating-pdf-from-report-issue/8781/1 "2014-07-23T22:46:08Z")

</div>

I am seeing some issues when I create a PDF from a report viewer.

I create a PDF from a report using system.file.writeFile(path, report.getBytesPDF())

When I view the PDF in Adobe Reader it looks correct. I then read that PDF using system.file.readFileAsBytes() and store in the database and display it in the Report Viewer in an Image Placeholder.

When I view it in the Report Viewer it now looks funny; words are fuzzy, some have a shadow, some are overlapped. It looks the same in the PDF Viewer.

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/1450fcf4aa775be393eff7b8ad012cdb95d3a739.png)  

If I take a PDF not created in Ignition and follow the same steps, the report looks correct.

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/6018359d81e80e4e1ac702b63c56a63bb66109bd.png)
