-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Alexander,
Am 11.01.2013 13:21, schrieb ????????? ??????: > Hello Adam, > > I've noticed that you are using 72.0 as default page DPI > everywhere. This is true for PDF and PS, but Djvu pages may have > 300 dpi or more. I suppose there have to be methods in Page class > to get resolutions. > > Best regards, Alexander. > The idea is that 72.0 DPI is just the logical/reference resolution of dimensions that are returned by Page::size, it is independent of the actual resolution of any data in the document files. If the dimension in a document/page use a different reference resolution, I would say we transform them accordingly and transparently in the back-end itself. (Links and stuff use a different scheme where their coordinates are inside [0,1] x [0,1] describing position w.r.t. to page dimension.) The resolution at which the data should be rendered is always passed to Page::render explicitly and depends on the physical resolution of the monitor (or possibly printer) used. (So I think typically, if you have a 300 DPI image in a DjVu file, you would scale it down to monitor resolution times scale factor for rendering.) Best regards, Adam. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAEBAgAGBQJQ8Aa7AAoJEPSSjE3STU34K+UIAJmR5t1uWAfj1OFqKLjeyDxh lNwnFAvU0xx4QANmaXRurxfaoJsOVWxysc881Je4KbgC4wLPc1Wv2w5RnIZIC8s9 tI8Rz/lYwIgpRp3yRxVi0jiYQNJPfJOIEv25Cr78Kmogrf6T9d8IvYnBjYFfKOw3 m1VnPyoEiDTibiT/8dVu9sgB+97bvymWGWw1FkaUKAyR8DJoWl384G+gTt7+HH4g 8iIvUOfuWv3LdRKv9Q8EFFpEBNE5156mYx1lzqLJq+KePWvAFdSSTXAM+0MMPO7X ZxDQcEg9HFIZm2RLW7xHsPSV2PvkPD7sDgWSFtoTewIu4tJ2Iqp2N9ei74KXw7w= =tv79 -----END PGP SIGNATURE----- -- Mailing list: https://launchpad.net/~qpdfview Post to : [email protected] Unsubscribe : https://launchpad.net/~qpdfview More help : https://help.launchpad.net/ListHelp

