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
On which target platforms have you observed this bug?
iOS, Android
Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.29.0, on Microsoft Windows [Version 10.0.26100.3775], locale en-US) [306ms] • Flutter version 3.29.0 on channel stable at C:\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 35c388afb5 (3 months ago), 2025-02-10 12:48:41 -0800 • Engine revision f73bfc4522 • Dart version 3.7.0 • DevTools version 2.42.2[√] Windows Version (Windows 11 or higher, 24H2, 2009) [1,918ms][√] Android toolchain - develop for Android devices (Android SDK version 35.0.1) [5.1s] • Android SDK at C:\Users\maxim\AppData\Local\Android\Sdk • Platform android-35, build-tools 35.0.1 • ANDROID_HOME = C:\Users\maxim\AppData\Local\Android\Sdk • Java binary at: C:\Program Files\Java\jdk-17\bin\java This JDK is specified in your Flutter configuration. To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`. • Java version Java(TM) SE Runtime Environment (build 17.0.12+8-LTS-286) • All Android licenses accepted.[√] Chrome - develop for the web [25ms] • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe[X] Visual Studio - develop Windows apps [24ms] X Visual Studio not installed; this is necessary to develop Windows apps. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components[√] Android Studio (version 2024.3) [22ms] • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 21.0.6+-13355223-b631.42)[√] VS Code (version 1.99.3) [20ms] • VS Code at C:\Users\maxim\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.109.20250401[√] Connected device (4 available) [287ms] • 24117RN76O (mobile) • amonjvtgylzhfqnz • android-arm64 • Android 15 (API 35) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.26100.3775] • Chrome (web) • chrome • web-javascript • Google Chrome 136.0.7103.93 • Edge (web) • edge • web-javascript • Microsoft Edge 136.0.3240.50[√] Network resources [440ms] • All expected network resources are available.
The text was updated successfully, but these errors were encountered:
We were unable to replicate the reported issue where the PDF page goes blank when adding highlight annotations. Please find the sample we used to replicate the reported issue and the video recording of the issue replication attempt below
Could you please try using our sample and let us know if the issue can be replicated on your end?
If you are able to reproduce the issue by modifying our sample, kindly share the updated version so that we can replicate the issue on our end and provide you with a prompt solution.
Bug description
When opening certain PDF files with syncfusion_flutter_pdfviewer, the following issues occur:
Text selection is misaligned: selected text appears with irregular spacing or offset between words/lines.
When trying to highlight the selected area, the screen turns white, making the content invisible.
This behavior only occurs with specific PDF files, especially ones with custom fonts or complex internal structures.
example.pdf
Steps to reproduce
1.Open the application that uses the syncfusion_flutter_pdfviewer package.
2.Load a PDF file with complex layouts, custom fonts, or scanned text (the issue appears specifically with certain PDFs).
3.Select text from the PDF.
4.Notice that the text selection is misaligned or spaced incorrectly.
5.Highlight the selected text.
6.The screen turns white and the content becomes invisible.
Code sample
Code sample
On which target platforms have you observed this bug?
iOS, Android
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: