[Poppler-bugs] [Bug 94517] page.text() does not take page orientation into account

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 31 13:28:48 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=94517

--- Comment #9 from jalanpalmer at gmail.com ---
(In reply to Albert Astals Cid from comment #8)
> I'm a bit hesitant about that patch as since it would break the people that
> are passing the coordinates to make it work like it works right now.

That's a good point. Maybe best to keep it how it is to avoid breaking any
users.

> so maybe the only thing we need to do is actually do a switch of coords in
> the 
>    if (r.is_empty()) {
> branch?

That would fix
    p->text()
but some users may also use
    p->text(p->page_rect())
and then they won't get all the text.

Quite a predicament!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20170731/08837d9c/attachment.html>


More information about the Poppler-bugs mailing list