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 602569 - Default page size format
Default page size format
Status: RESOLVED DUPLICATE of bug 599468
Product: evince
Classification: Core
Component: printing
2.29.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-21 12:18 UTC by Nicolò Chieffo
Modified: 2010-03-15 15:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
original file (80.89 KB, application/octet-stream)
2009-11-21 12:26 UTC, Nicolò Chieffo
Details
printed to file (pdf) (34.43 KB, application/octet-stream)
2009-11-21 12:28 UTC, Nicolò Chieffo
Details
original file (11.82 KB, application/pdf)
2009-11-26 14:14 UTC, Nicolò Chieffo
Details
output (after 4 times) (4.13 KB, application/pdf)
2009-11-26 14:15 UTC, Nicolò Chieffo
Details

Description Nicolò Chieffo 2009-11-21 12:18:52 UTC
Hello, I'd like to point out a problem in gtk+ 2.18.3-1ubuntu2 printing.

I installed ubuntu karmic in english, then I modified my locale in this way:
LANG=en_US.UTF-8
LC_CTYPE=it_IT.UTF-8
LC_NUMERIC=it_IT.UTF-8
LC_TIME=it_IT.UTF-8
LC_COLLATE=it_IT.UTF-8
LC_MONETARY=it_IT.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=it_IT.UTF-8
LC_NAME=it_IT.UTF-8
LC_ADDRESS=it_IT.UTF-8
LC_TELEPHONE=it_IT.UTF-8
LC_MEASUREMENT=it_IT.UTF-8
LC_IDENTIFICATION=it_IT.UTF-8
LC_ALL=

so you can see that LC_PAPER is Italian (the paper used in Italy is A4)

my problem is that every time I "Print to file", the output is always in Letter format, and there's no way to edit the page size.

Another problem is that every time I create a new printer, it gets Letter page size, instead of A4. (note that this problem might be caused by system-config-printer-gnome which I think is not gtk)
Comment 1 Nicolò Chieffo 2009-11-21 12:26:36 UTC
Created attachment 148219 [details]
original file
Comment 2 Nicolò Chieffo 2009-11-21 12:28:24 UTC
Created attachment 148220 [details]
printed to file (pdf)

As you can see they look different
Comment 3 Marek Kašík 2009-11-26 13:57:21 UTC
Hi Nicolò,

I can not reproduce this with "gtk-demo".
Which application do you print with? What do you see in "Page Setup" -> "Paper size"?

Regards

Marek
Comment 4 Nicolò Chieffo 2009-11-26 14:14:48 UTC
Created attachment 148535 [details]
original file

I'm starting to think that the problem is different and does not affect the page format, but it seems that the page is scaled when printing to pdf.

Steps to reproduce:
1) start openoffice draw (page size=A4)
2) create a big shape from one side to the other
3) write some text from one side to the other
4) export to pdf
[you can download ORIGINAL.pdf which already has this done]
5) open evince
6) select print to file, PDF, scale 100%, pages per side 1, A4
7) print to output.pdf

You will end up with a pdf file with borders, so the image is not scaled 100%, but ~90%

And if you iterate steps 5-7 more times, using as the input file the output of the previous iteration, you will generate a pdf with huge borders!
Comment 5 Nicolò Chieffo 2009-11-26 14:15:52 UTC
Created attachment 148536 [details]
output (after 4 times)

The is the output I get after printing to pdf 4 times, using the previously printed file
Comment 6 Adrian Johnson 2009-11-29 04:17:43 UTC
It is a bug in evince. Evince always shrinks the page to fit within the margins.  Bug 599468 comment 3 contains the fix to make this a user selectable option like acroread does.
Comment 7 Marek Kašík 2010-03-15 15:15:10 UTC
Hi,

since this is solved by the fix of the bug #599468 in evince, I'm closing this as a duplicate of the bug.

Regards

Marek

*** This bug has been marked as a duplicate of bug 599468 ***