After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 794248 - xpstopdf: make the generated pdf to be 96 dpi
xpstopdf: make the generated pdf to be 96 dpi
Status: RESOLVED FIXED
Product: libgxps
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: libgxps maintainers
libgxps maintainers
Depends on:
Blocks:
 
 
Reported: 2018-03-12 07:56 UTC by Ignacio Casal Quinteiro (nacho)
Modified: 2018-03-12 16:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
xpstopdf: make the generated pdf to be 96 dpi (1.69 KB, patch)
2018-03-12 07:56 UTC, Ignacio Casal Quinteiro (nacho)
committed Details | Review

Description Ignacio Casal Quinteiro (nacho) 2018-03-12 07:56:21 UTC
The page size we get from the xps metadata is in points. When we
pass this size to cairo we should convert it to 96 dpi since it
is the dpi we have by default on Windows, without this conversion
the generated pdf will be using a bigger page size.
Moreover evince does this conversion as well by itself.
Comment 1 Ignacio Casal Quinteiro (nacho) 2018-03-12 07:56:33 UTC
Created attachment 369562 [details] [review]
xpstopdf: make the generated pdf to be 96 dpi
Comment 2 Carlos Garcia Campos 2018-03-12 16:30:43 UTC
Comment on attachment 369562 [details] [review]
xpstopdf: make the generated pdf to be 96 dpi

Ok, thanks!
Comment 3 Ignacio Casal Quinteiro (nacho) 2018-03-12 16:52:48 UTC
Thanks for the review

Attachment 369562 [details] pushed as acd80e1 - xpstopdf: make the generated pdf to be 96 dpi