Aspect ratio incorrect when opening PDF documents

Asked by Geoff on 2012-01-20

Since approx mid-Jan 2012, whenever I open any PDF document in evince the document is displayed in a tall, narrow window. Before I can read the document I have to resize the window in the X axis. This did not used to be a problem. Is there a way of telling evince to default to a more useful aspect ratio ?

Running Ubuntu 11.04.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu evince Edit question
Assignee:
No assignee Edit question
Last query:
2012-01-23
Last reply:
2012-01-23

Tried:

evince -f filename.pdf

May help

Geoff (gbrowne) said : #2

Thanks for the quick reply and the suggestion actionparsnip.

-f seems to open the document in full screen. This is better than the
tall thin unreadable window, but full screen is not very user-friendly.
Strange this is not mentioned in the man page?

I would prefer it to behave as it did prior to whatever the recent
change was. I don't understand why it doesn't have a .evince file in ~
that remembers the last used window size ?

Thanks,
Geoff.

On 20/01/12 08:55, actionparsnip wrote:
> Your question #185271 on evince in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/evince/+question/185271
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Tried:
>
> evince -f filename.pdf
>
> May help
>

It is though. Here is an excerpt:

DESCRIPTION
       evince

       Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Post‐
       script. For more general information about Evince please visit our website at
       http://www.gnome.org/projects/evince/

OPTIONS
       -?, -h, --help
              Prints the command line options.

       -p, --page-label=PAGE
              Open the document on the page with the specified page label (or page number).

       -p, --page-index=NUMBER
              Open the document on the page with the specified page index (this is the exact page number, not a page
              label).

       -f, --fullscreen
              Run evince in fullscreen mode.

So where did you get "Strange this is not mentioned in the man page?" from?

Geoff (gbrowne) said : #5

Thanks. In that case I suspect that I may have an older version of
evince, though Synaptic claims it is the latest at 2.32.0-0ubuntu12.3

Here is my output:

 >man evince

...

EVINCE(1)
EVINCE(1)

NAME
        evince - GNOME document viewer

        The Evince Document Viewer application for GNOME desktop environment

SYNTAX
        evince [--help] [--usage] [--page-label=<label>] [--quit]
[filename(s)...]

DESCRIPTION
        evince

        Evince is a document viewer capable of displaying multiple
and single page document formats like PDF and Postscript. For more general
        information about Evince please visit our website at
http://www.gnome.org/projects/evince/

OPTIONS
        --help Prints the command line options.

        --page-label=label
               You can pass a page label or page number here, this page
will be selected in the document if it exists.

        filename(s)...
               Specifies the file to open when Evince starts. If this is
not specified, Evince will open a blank window. Multiple files can be
               loaded if they are separated by spaces. Evince also
supports handling of remote files. For example, you can pass the
location on
               the web or load a file from a FTP server, like
"ftp://adobe.com/sample.pdf".

BUGS
        If you find a bug, please report it at
http://bugzilla.gnome.org/enter_bug.cgi?product=evince.

                                                                     30
Jan 2007 EVINCE(1)

On 20/01/12 10:41, actionparsnip wrote:
> Your question #185271 on evince in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/evince/+question/185271
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> So where did you get "Strange this is not mentioned in the man page?"
> from?
>

Strange. well I am on Precise pre release, maybe they improved the man pages, apologies.

Geoff (gbrowne) said : #7

Guess so. No probs - thanks for your interest.

Do you get the problem I describe when opening a PDF in the newer
version ? Any idea when it is due for release ?

The weird thing is this only started happening about two weeks ago - as
though some library was changed and that had wider effects than was
realised or something ?

GB.

On 20/01/12 11:25, actionparsnip wrote:
> Your question #185271 on evince in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/evince/+question/185271
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Strange. well I am on Precise pre release, maybe they improved the man
> pages, apologies.
>

Do other PDF viewers do the same, like xpdf?

Geoff (gbrowne) said : #9

No this just happens on evince. Do you see the same when you open a pdf document ?

I don't use non-A4 PDFs much so I don't have an issue. I suggest you report the bug with evince by running:

ubuntu-bug evince

and use xpdf as you said it has no issue

Can you help with this problem?

Provide an answer of your own, or ask Geoff for more information if necessary.

To post a message you must log in.