Need More Info
Last Updated: 08 Aug 2024 14:53 by ADMIN
Sujeet
Created on: 02 Aug 2024 09:11
Category: PDFViewer
Type: Bug Report
0
Blurred text is rendered with kendo mvc pdfviewer

We are using Kendo MVC version: 2021.3.1109.545

When we tried to open the PDF file from the application using PDF viewer, we can see the fonts getting blurred and fuzzy as shown below.

 

1 comment
ADMIN
Mihaela
Posted on: 08 Aug 2024 14:53

Hello Sujeet,

Thank you for your report.

I have tested the PDFViewer component configured to use PDF.js processing locally, and it appears that the text is rendered as expected at my end, when the PDF file is loaded. I am attaching a runnable ASP.NET MVC application for your reference that uses Telerik UI for ASP.NET MVC version 2021.3.1109 and the following PDFViewer declaration:

<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.js"></script>
<script>
    window.pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.worker.js';
</script>

<div id="example">
    @(Html.Kendo().PDFViewer()
            .Name("pdfviewer")
            .PdfjsProcessing(pdf => pdf.File(Url.Content("~/Content/Document.pdf")))
            .Height(1200)
    )
</div>

Would you please modify the sample application based on your PDFViewer configuration to replicate the blurred text rendering and send it back in the thread for review?

Alternatively, please consider sharing the PDFViewer configuration at your end along with the PDF file. I will review them and follow up with more information regarding the matter.

Also, would you try to load the same file in the demo below that uses the latest version, and let me know if the text is still blurred?

https://demos.telerik.com/aspnet-mvc/pdfviewer

Thank you for your cooperation.

Regards,
Mihaela
Progress Telerik

Do you have a stake in the designеr-developer collaboration process? If so, take our survey to share your perspective and become part of this global research. You’ll be among the first to know once the results are out.
-> Start The State of Designer-Developer Collaboration Survey 2024

Attached Files: