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
Describe the bug
PDF rendering quality has significantly degraded on Android devices since Flutter 3.27.X. PDFs now display with blurry, pixelated text that becomes increasingly unreadable when zooming in. This appears to be a regression in the PDF rendering engine affecting text clarity and resolution.
To Reproduce
Steps to reproduce the behavior:
Deploy the example app from the package repository
Open any PDF file using the basic PDF viewer example
Try to read the text and zoom in
Observe the blurry, pixelated text rendering
Expected behavior
PDF text should render crisp and clear at all zoom levels, maintaining readability and proper resolution scaling. Text should remain sharp when zooming in, similar to the rendering quality in versions prior to Flutter 3.27.X.
Screenshots
Smartphone (please complete the following information):
This issue appears to be Android-specific
The problem is consistent across different PDF files
Text rendering quality is particularly degraded when zooming in
The issue began appearing specifically after updating to Flutter 3.27.X
The text was updated successfully, but these errors were encountered:
Looks like this issue is related to impeller renderer becoming the default from flutter v3.27. The only quick fix I can think of (and it WORKS!) is to override the default setting and use skia like it was the case with previous flutter versions.
Temporary solution
Add the following meta tag in your AndroidManifest.xml:
Describe the bug
PDF rendering quality has significantly degraded on Android devices since Flutter 3.27.X. PDFs now display with blurry, pixelated text that becomes increasingly unreadable when zooming in. This appears to be a regression in the PDF rendering engine affecting text clarity and resolution.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
PDF text should render crisp and clear at all zoom levels, maintaining readability and proper resolution scaling. Text should remain sharp when zooming in, similar to the rendering quality in versions prior to Flutter 3.27.X.
Screenshots
Smartphone (please complete the following information):
Device: Samsung Galaxy S10
OS: Android 12
Flutter Version: 3.27.3
pdfx Version: 2.8.0
Additional context
This issue appears to be Android-specific
The problem is consistent across different PDF files
Text rendering quality is particularly degraded when zooming in
The issue began appearing specifically after updating to Flutter 3.27.X
The text was updated successfully, but these errors were encountered: