Use FontInfoScanner

No idea why we didn't do this before, duplicate code is evil and now
pdffonts doesn't crash on pdf from bug 20486
1 file changed