<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - evince and selection on rotated text"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=16619#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - evince and selection on rotated text"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=16619">bug 16619</a>
              from <span class="vcard"><a class="email" href="mailto:mkasik@redhat.com" title="Marek Kasik <mkasik@redhat.com>"> <span class="fn">Marek Kasik</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=92928" name="attach_92928" title="Respect orientation when selecting words">attachment 92928</a> <a href="attachment.cgi?id=92928&action=edit" title="Respect orientation when selecting words">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=16619&attachment=92928'>[review]</a>
Respect orientation when selecting words

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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>