Open Abdelrhman-Azab opened 2 days ago
Hi @Abdelrhman-Azab,
We are able to replicate the issue, where the Unicode characters in the PDF are not recognized when it is selected in the Syncfusion Flutter PDF Viewer. We are currently validating this issue, and we will provide further details once we find the root cause of the issue.
Regards, Krithiga Perumal.
Bug description
When i select ä or Ä the pdf viewer doesn't recognize it.
Steps to reproduce
use the attached pdf
test.pdf
select Ä ä
Print selected text
Code sample
Code sample
```dart SizedBox( child: SfPdfViewerTheme( data: const SfPdfViewerThemeData( backgroundColor: Colors.white, ), child: SfPdfViewer.memory( pageLayoutMode: ratio > 0.12 ? PdfPageLayoutMode.continuous : PdfPageLayoutMode.single, key: _pdfViewerKey, enableTextSelection: true, canShowTextSelectionMenu: false, canShowScrollHead: false, interactionMode: PdfInteractionMode.pan, noteFile!, onTextSelectionChanged: (details) { print("SELECTED TEXT ${details.selectedText}"); }, ), ), ), ```Screenshots or Video
Stack Traces
Stack Traces
```dart no stack trace is available ```On which target platforms have you observed this bug?
iOS
Flutter Doctor output
Doctor output
```console [✓] Flutter (Channel stable, 3.24.3, on macOS 15.0 24A335 darwin-arm64 (Rosetta), locale en-EG) • Flutter version 3.24.3 on channel stable at /Users/abdelrhmansayed/Developer/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 2663184aa7 (10 weeks ago), 2024-09-11 16:27:48 -0500 • Engine revision 36335019a8 • Dart version 3.5.3 • DevTools version 2.37.3 [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/abdelrhmansayed/Library/Android/sdk • Platform android-35, build-tools 34.0.0 • ANDROID_HOME = /Users/abdelrhmansayed/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 16.0) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16A242d • CocoaPods version 1.16.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2024.2) • Android Studio at /Applications/Android Studio.app/Contents • 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.3+-79915917-b509.11) [✓] VS Code (version 1.95.3) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.100.0 [✓] Connected device (5 available) • Abdelrhman’s iPhone (mobile) • 00008120-00012D292190C01E • ios • iOS 18.1 22B83 • iPhone 16 Pro (mobile) • 397B1B57-9A90-488A-8826-8DD0E5B5E016 • ios • com.apple.CoreSimulator.SimRuntime.iOS-18-0 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 15.0 24A335 darwin-arm64 (Rosetta) • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.0 24A335 darwin-arm64 (Rosetta) • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.70 [✓] Network resources • All expected network resources are available. • No issues found!```