Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Admin message
The migration is almost done, at least the rest should happen in the background. There are still a few technical difference between the old cluster and the new ones, and they are summarized in this issue. Please pay attention to the TL:DR at the end of the comment.
Attached is a patch which improves selection of words when PDF is rotated by multiples of 90°. It sets correct bounds on various visit*() functions.
The patch doesn't solve all problems related to this. There are still problems with order of selected lines and blocks when multiple blocks are selected.
The problem with correct order of lines is easier to fix but I have not a patch ready yet. The problem with correct order of blocks is a little bit harder since it needs to correct flows.
The main problem why I started to look into this was that poppler shows this warning on some PDFs (see next attachment):
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
Btw, the patch doesn't fix the problem shown on the Pedro's screenshot but it is related to the name of this bug.
Hi, I've prepared a merge request for my patch from the original bug. It fixes the issue when you want to select text rotated by multiples of 90 degrees (not an arbitrary angle).