WebViewer, search text in RTL (hebrew) document

WebViewer Version:
8.4.1

Do you have an issue with a specific file(s)?
No, checked with .doc, .txt, .xod
Can you reproduce using one of our samples or online demos?
Yes
Are you using the WebViewer server?
No
Does the issue only happen on certain browsers?
No
Is your issue related to a front-end framework?
Yes
Is your issue related to annotations?
Yes

Please give a brief summary of your issue:
Wrong direction of search results in RTL document

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
Open document with hebrew, click on search, search existing word. Search results in
right panel not in right direction.

Please provide a link to a minimal sample where the issue is reproducible:
PDFTron WebViewer Demo: JavaScript PDF Viewer Demo
search-hebrew.txt (415 Bytes)

Hi,

Thank you for contacting us regarding Webviewer.

We were able to reproduce this issue, and is currently investigating.

We will update you once we have further progress, thank you.

Hi Dmitryk,

Have you looked at our setRightToLeftLanguage API?

Best regards,
Tyler Gordon
Web Development Support Engineer
PDFTron

Hi @tgordon ,

Thank you for response.
This is not helpful, because we use search in client side (browser), with WebViewer javascript api.

With regards!

Hi dmitryk,

My apologies, I meant to link this API: PDFTron WebViewer Class: DocumentViewer

Let me know if this works for you!

Best regards,
Tyler Gordon
Platform Support Team Lead
PDFTron

Hello @tgordon
Unfortunately, using enableRightToLeftPageRendering not helped to fix this issue.
Do this help to fix this in you API?

Hi dmitryk,

I have added this to our backlog to better implement the right-to-left searching, thank you for your input!

Best regards,
Tyler Gordon
Platform Support Team Lead
PDFTron

Hello. Do You have any updates about ticket?

Hello dmitryk,

We have added a task to better support right-to-left searching in our backlog. We dont have a timeline for when it will be available but we will let you know once it is.

Best regards,
Tyler Gordon
Platform Support Team Lead
PDFTron