Vertical text selection

Which product are you using?
PDF.js Express Viewer

Detailed description of issue
Vertical text selection not working.

Expected behaviour
Vertical text selection should work, tried with PDF.js and PDFTron Viewer with the same documents and it does work properly.

Does your issue happen with every document, or just one?
Tried multiple documents, same behaviour.

Link to document
Can’t provide the document.

Code snippet
Tried on demo page.

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hello v.condratiev,

Can you share screenshots of the current behaviour, and the expected behaviour?

We have a different text selection mode called “Rectangular” you can set it like so:
https://www.pdftron.com/api/web/Core.Tools.TextTool.html#selection_mode

Best regards,
Tyler Gordon
Web Development Support Engineer
PDFTron

Hello Tyler,
Yes, of course.
So this is the actual text that I’m trying to select.
image

I can’t select that vertical / sideways text.
I noticed that this happens for all vertical/sideways text and it does not matter what document I use.

If I try to open the file with PDF.js or PDFTron, this works properly.

Best Regards,
Vadim

Hello v.condratiev,

Using test files on my end, which have sideways text, I am able to select them. I have a feeling this could be a file specific issue. I see you noted you cant provide the document, I could give you my email for which you can send the file if you would like.

Best regards,
Tyler Gordon
Web Development Support Engineer
PDFTron

Hi Tyler,

That would be great! I can send you the file.

Thank you!
Vadim

Hello v.condratiev,

Here is my email: tgordon@pdftron.com

Best regards,
Tyler Gordon
Web Development Support Engineer
PDFTron

Hi Tyler,

I sent you the file. Can you please confirm that you received it ?

Best regards,
Vadim