VS sometimes fails to interpret text in a pdf file