You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m using the BitPDFReader component to display PDF files, but the text renders incorrectly—letters are scrambled or corrupted.
Issue persists across different PDFs (including non-English scripts like Persian).
When I tested the same PDFs in a simple HTML app using PDF.js, text rendered perfectly.
Uh oh!
There was an error while loading. Please reload this page.
Is there an existing issue for this?
Describe the bug
I’m using the BitPDFReader component to display PDF files, but the text renders incorrectly—letters are scrambled or corrupted.
Issue persists across different PDFs (including non-English scripts like Persian).
When I tested the same PDFs in a simple HTML app using PDF.js, text rendered perfectly.
CS file :
Razor file :
Expected Behavior
Text should display clearly and correctly, as seen in other PDF viewers (e.g., Adobe Acrobat, PDF.js).
Simple Html code for testing PDF.js
Steps To Reproduce
Load any PDF file (tested with multiple files, including Persian-language PDFs).
Files link :
https://www.aeee.in/wp-content/uploads/2020/08/Sample-pdf.pdf
https://ontheline.trincoll.edu/images/bookdown/sample-local-pdf.pdf
https://pdfobject.com/pdf/sample.pdf
Observe corrupted text rendering in BitPDFReader.
Exceptions (if any)
No response
.NET Version
9.0.100
Anything else?
Microsoft.AspNetCore.Components.Web Version : 9.0.3
Bit.BlazorUI Version : 9.7.2
Bit.BlazorUI.Extras Version=9.7.1
The text was updated successfully, but these errors were encountered: