Test method for the font parser in PDF viewers