"Preserve Original Content and Add Text Layer" rotated

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
Ginfer
User
Posts: 17
Joined: Sun Dec 05, 2010 1:25 pm

"Preserve Original Content and Add Text Layer" rotated

Post by Ginfer »

Whenever use the OCR functionality with "Output Type" set to "Preserve Original Content and Add Text Layer" on a PDF with more than one page, the resulting text layers are rotated 90° (could reproduce it now with two different PDFs).

(posted here since that error appears in the main application, wasn't sure whether the problem is caused by the plugin part or not)
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17929
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: "Preserve Original Content and Add Text Layer" rotated

Post by Tracker Supp-Stefan »

Hello Ginfer,

Thanks for your post. I will pass it to our OCR developers for investigation, but in the mean time could you please test if this happens with documents which might have been rotated in the past, and whether the same happens in our Viewer with OCR-ing the same files?

Regards,
Stefan
Ginfer
User
Posts: 17
Joined: Sun Dec 05, 2010 1:25 pm

Re: "Preserve Original Content and Add Text Layer" rotated

Post by Ginfer »

The one PDF certainly was rotated before, the other one I don't know, at least it wasn't rotated not by me, I could still reproduce it when extracting some pages (more than one) and trying to OCR them. I couldn't reproduce it when creating a new document using new images. I did even try to run the PDF-Tools optimization before and setting all boxes (trim box etc.) to zero.

Are you interested in the PDFs where I can reproduce it?
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17929
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: "Preserve Original Content and Add Text Layer" rotated

Post by Tracker Supp-Stefan »

Hi Ginfer,

Yes - certainly if you could attach one or two to this topic that will definitely be useful when I pass this to my colleagues from the OCR team for further investigation.

Regards,
Stefan
Ginfer
User
Posts: 17
Joined: Sun Dec 05, 2010 1:25 pm

Re: "Preserve Original Content and Add Text Layer" rotated

Post by Ginfer »

Here you go.

/edit: Just noticed I can reproduce it with a single page too, seems like the one time when the bug didn't occur was for other reasons.
Attachments
ocrbug.pdf
(292.75 KiB) Downloaded 169 times
Ginfer
User
Posts: 17
Joined: Sun Dec 05, 2010 1:25 pm

Re: "Preserve Original Content and Add Text Layer" rotated

Post by Ginfer »

Now I am certain: The bug is indeed because the images are displayed rotated. When I used PDF-Tools to extract and automatically rotate the images for me (Option "re-build … so it matched that which is viewed on screen") and created a new PDF from those images I ended up with a PDF file where the bug wouldn't be triggered.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17929
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: "Preserve Original Content and Add Text Layer" rotated

Post by Tracker Supp-Stefan »

Thanks Ginfer,

Our OCR team is already notified and will see to fix this in a timely manner!

Regards,
Stefan
Walter-Tracker Supp
User
Posts: 381
Joined: Mon Jun 13, 2011 5:10 pm

Re: "Preserve Original Content and Add Text Layer" rotated

Post by Walter-Tracker Supp »

Thank you - it will be fixed shortly.

-Walter
Post Reply