[Okular-devel] Rotation & object rects
Pino Toscano
toscano.pino at tiscali.it
Sat Oct 28 16:01:27 CEST 2006
Hi,
recently we improved the rotation code, but there are some issues left with
the object rects.
First of all, we actually just delete them and let's wait for the generator to
re-create them. Ok - you can say - let's just rotate them. That's easy, but
there's another problem. Actually, the generators that provide object rects
recreate and re-add them during _every_ pixmap generation. That's quite a
pity for metadata that needs to be created only once...
Ideally, they should just create and add them to the pages just after the
document loading. After that, we just rotate them, and all is happy.
But... as far I can see, the poppler generator can get the links just _after_
the first pixmap generation of the correspondentant page. This could be
solved by using a flag ('alreadygenerated') or sort of.
Do you have any other ideas about this?
Regards,
--
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/okular-devel/attachments/20061028/90298c54/attachment.pgp
More information about the Okular-devel
mailing list