logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Post a reply
From:
Message:

Maximum number of characters in each post is: 32767
Bold Italic Underline   Highlight Quote Choose Language for Syntax Highlighting Insert Image Insert an existing Attachment or upload a new File... Create Link   Unordered List Ordered List   Left Justify Center Justify Right Justify   Outdent Indent   More BBCode Tags
Font Color Font Size
Security Image:
Enter The Letters From The Security Image:
  Preview Post Cancel

Last 10 Posts (In reverse order)
gffranca Posted: Friday, September 11, 2020 9:10:21 AM(UTC)
 
This file is a good example: AF_PACK ADULTO_COM MODIFICACOES_PARA TESTE-1.pdf (770kb) downloaded 43 time(s).


- When I use GetText() in Pdfium.NET, it returns the text out of order.

- When I select the text in Pdfium.NET, it returns the text out of order.

- When I use Ctrl+A in Acrobat, it returns the text in the correct order.

- When I select the text in Acrobat, it returns the text in the correct order.


I really need a solution!

gffranca Posted: Wednesday, September 9, 2020 7:56:34 AM(UTC)
 
There are some client's PDF that I can't select correctly the text.

Using Adobe Acrobat Reader the selection in the SAME FILE is perfect.

E.g:


Text:
"The quick
brown fox jumps
over the lazy dog"


Selected text order (Adobe Reader):
"The quick
brown fox jumps
over the lazy dog"


Selected text order (Pdfium.NET)
"The quick
jumps fox brown
over the lazy dog"


Any idea of what I need to change in the PDF so that Pdfium.NET selects correctly?