Creating text PDFs from scans