We process PDF files on our Linux server. These PDF files must be 8.5 x 11. Only certain fonts are allowed in the document when they are not embedded.
I wrote a Perl program to parse through a PDF file to check the parameters of MediaBox for page size and BaseFont for fonts. The program also checks for annotations and HideMenubar, HideToolbar, and HideWindowUI. The program seems to work well unless the stream is encrypted.
I recently found pdffonts and pdfinfo from which I could use for detecting the page size and fonts. Does anyone have any suggestions for obtaining PDF information from within a Perl program?
Thanks!
I wrote a Perl program to parse through a PDF file to check the parameters of MediaBox for page size and BaseFont for fonts. The program also checks for annotations and HideMenubar, HideToolbar, and HideWindowUI. The program seems to work well unless the stream is encrypted.
I recently found pdffonts and pdfinfo from which I could use for detecting the page size and fonts. Does anyone have any suggestions for obtaining PDF information from within a Perl program?
Thanks!