fixed formating for pdf.cpp