MicrosoftEdge / MicrosoftEdge/WebView2Feedback
[Problem/Bug]: New PDF engine cannot show PDFs with blankspace in basefont
@ambikakunnath is already working on this.
Since Sep 4, 2026.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
What happened?
With new PDF engine not all PDFs can be shown and if a PDF cannot be shown it will just display a black page. Same PDF can be shown with legacy PDF engine (support to be removed in version 155).
I uploaded NotWorkingPDF and WorkingPDF in case you need to compare what causes the failure. After some basic testing it seems to be due to how the font is read (especially if it contains blank spaces).
It is works to open in Adobe Acrobat.
WorkingPDF.pdf
NotWorkkingPDF.pdf
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
151.0.4129.72
SDK Version
No response
Framework
Winforms
Operating System
Windows 11
OS Version
No response
Repro steps
Open NotWorkingPDF.pdf -> Is completely black
Set edge policy NewPDFReaderEnabled=false
Open NotWorkingPDF.pdf again -> Works
Repros in Edge Browser
Yes, issue can be reproduced in the corresponding Edge version
Regression
Regression in newer Runtime
Last working version (if regression)
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.