Not detected all the embedded fonts, only sometimes
Hi,
first of all, congrats for the gem, it's very useful for us.
We're being able to detect the embedded fonts in a wide range of types of PDF files. However, now I've just exported a simple table from Google Drive to PDF, and the PDF::Reader tells me it has no fonts. Of course, I've checked this in Acrobat Reader and it has two embedded subsets (ArialMT and Verdana), TrueType (CID) and Identity-H encoding. We are using this script https://github.com/yob/pdf-reader/blob/master/examples/extract_fonts.rb
The question is, how reliable is the gem to trust our fonts detection process? The need is very simple for us: to provide the fonts to the system (if not already provided) when they're not embedded in the PDF in order to print it properly.
Thanks.
pdf-reader is capable of detecting all fonts in PDF, but that example isn't as robust as it could be and will need expanding for most real-world systems. When you run the script do you get lots of warnings that look like:
unsupported font type: XXX