bug-gv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gv] Incorrect aspect ratio on scaled laptop display


From: rajmund . krivec
Subject: [bug-gv] Incorrect aspect ratio on scaled laptop display
Date: Wed, 22 May 2019 19:30:41 +0200 (CEST)
User-agent: Alpine 2.10 (LFD 1266 2009-07-14)

Hi,

I found the following working on a laptop with the
physical 1920x1080 screen, testing twinview mode for a 4:3
aspect projector (1024x768):

    xorg.conf contains a MetaMode for a 1024x768 viewport
    (nvidia driver):

        Option "MetaModes" "DFP-1: nvidia-auto-select
        @1024x768 +0+0 {viewportin=1024x768,
        viewportout=1024x768+448+156}, 1024x768 @1024x768"

This results, as intended, in a 1024x768 display occupying
the central physical 1024x768 pixels (1-to-1) and having
black borders, but xdpyinfo reports conflicting aspect
ratio information (4:3 vs. 16;9):

    dimensions:    1024x768 pixels (342x191 millimeters)
    resolution:    76x102 dots per inch

The PS or EPS files are self-generated (gnuplot) and the
BoundingBox comments exist, e.g. %%BoundingBox: 50 50 554
770 or 50 05 554 856.

Other info;

    gv-3.7.4-17.fc29.x86_64
    xorg-x11-server-Xorg-1.20.4-1.fc29.x86_64
    xorg-x11-drv-nvidia-418.56-1.fc29.x86_64

Everything else (text, images, etc.) is displayed
correctly. evince displays PS, EPS in correct aspect ratio
in the same context. PDF files converted using ps2pdf are
shown correctly by xpdf and evince (and incorrectly by
gv).

Best regards,

    Rajmund Krivec



reply via email to

[Prev in Thread] Current Thread [Next in Thread]