First of all, I would like to say that the Viewer is working normally for text-based PDFs. The problem is when I try to do the same with a PDF image-based that was OCR. Instead of getting the correct text, I got just som…...view(viewOptions); } try (Stream<String>...