Do you happen to know if LLMs have issues reading PDFs? Would they prefer EPUB format for example?
Is this one storing text or storing coordinates for where to draw a line for the letter 'l'? Is that an 'l' or a line?
The best way to do this is rendering it to an image and using the image. Either through models that can directly work with the image or OCR'ing the image.