Hi there, I have filed a bug report at: https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14326. And the related patch is at: https://bugs.r-project.org/bugzilla3/attachment.cgi?id=1113 which will do: 1) correct the binary comment (the second line of PDF file) 2) remove a strange ^M in the PDF file 3) give correct font number for CID fonts when were used with default fonts. Regards, Jinsong