sioyek-python-extensions icon indicating copy to clipboard operation
sioyek-python-extensions copied to clipboard

annotations created in wrong place using select rect & add red text in electronic schematic PDF.

Open himanshutank opened this issue 2 years ago • 4 comments

Hello,

Big Sioyek fan here,

I am using Sioyek PDF for electronic schematic PDF files. And it has been awesome so far.

I want to take this experience if further, thus I started creating annotations using "select rect" & adding text using "add_red_text" but discovered that text gets created at weird locations and not in the location where rect was selected.

Not sure where to report this issue in "sioyek" world OR "extension" world.

TIA!

himanshutank avatar Apr 14 '23 17:04 himanshutank

Can you reproduce the issue on sioyek's tutorial PDF?

ahrm avatar Apr 14 '23 19:04 ahrm

Sorry for late reply, I have tested this with tutorial PDF and other normal PDF's it works very fine.

It is just with schematic PDF it is facing some problem. In this kind of PDF, there are text's written horizontally and text written vertically as well. May be that's something breaking this?

himanshutank avatar Apr 24 '23 16:04 himanshutank

Can you share this PDF so I can test on it?

ahrm avatar Apr 24 '23 16:04 ahrm

This might be related so I'll share. I was having similar issues and changing (with the help of qpdf) the 'MediaBox' entry for each page to that of the page's 'CropBox' entry fixed the issue and left the PDF looking the same.

unsigned-enby avatar Sep 28 '23 12:09 unsigned-enby