Your message dated Wed, 10 Mar 2010 22:02:26 +0000
with message-id <[email protected]>
and subject line Bug#572678: fixed in vnc4 4.1.1+X4.3.0-37
has caused the Debian Bug report #572678,
regarding vnc4server: dpi doesn't remain constant for RandR changes to geometry
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
572678: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572678
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vnc4server
Version: 4.1.1+X4.3.0-36
Severity: normal

I was having issues with dpi and noticed in #382264 that I can actually
specify -dpi # and it will be passed through to Xvnc4.  However, this
only sets fixed physical dimensions computed from the specified dpi that
remain constant even when you use xrandr to change geometries.  The
end result is that the dpi scales along with the geometry change,
which in turn results in progressively huger fonts as you choose
larger geometries.

In the following example, I defined four geometries so that I could
change between them to suit different sized client displays, and started
vnc4server with "vnc4server -dpi 200" to verify that font sizes are
indeed changed by this switch (this results in very large fonts due
to the smaller computed physical size, making it very easy to verify
at a glance -- I know it isn't a practical value :).

See xrandr's output:

 SZ:    Pixels          Physical       Refresh
*0    640 x 480    (  81mm x  61mm )  *60  
 1    800 x 480    (  81mm x  61mm )   60  
 2    800 x 600    (  81mm x  61mm )   60  
 3   1024 x 768    (  81mm x  61mm )   60  

And after "xrandr -s 1024x768":

 0    640 x 480    (  81mm x  61mm )   60  
 1    800 x 480    (  81mm x  61mm )   60  
 2    800 x 600    (  81mm x  61mm )   60  
*3   1024 x 768    (  81mm x  61mm )  *60  

So now, what started as 200 dpi is actually 1.6x higher, or 320 dpi.

What I think should be happening is when we initially set up the multiple
geometries, we should be scaling the physical size proportionally so that the
when xrandr is used to switch, dpi remains constant.

My workaround is, every time I want to start a new application, I precede
it with xrandr -s 640x480 (the smallest geometry) to set the dpi correctly,
and afterwards, xrandr -s NxM to set it back to the desired geometry.  It's
clunky, but it works for now.

Ben


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages vnc4server depends on:
ii  libc6                   2.10.2-6         Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.4.2-9        GCC support library
ii  libice6                 2:1.0.6-1        X11 Inter-Client Exchange library
ii  libsm6                  2:1.1.1-1        X11 Session Management library
ii  libstdc++6              4.4.2-9          The GNU Standard C++ Library v3
ii  libx11-6                2:1.3.3-1        X11 client-side library
ii  libxext6                2:1.1.1-2        X11 miscellaneous extension librar
ii  libxtst6                2:1.1.0-2        X11 Testing -- Resource extension 
ii  x11-common              1:7.5+3          X Window System (X.Org) infrastruc
ii  xbase-clients           1:7.5+3          miscellaneous X clients - metapack
ii  xserver-common          2:1.7.5-1        common files used by various X ser
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages vnc4server recommends:
ii  xfonts-base                   1:1.0.1    standard fonts for X

Versions of packages vnc4server suggests:
pn  vnc-java                      <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: vnc4
Source-Version: 4.1.1+X4.3.0-37

We believe that the bug you reported is fixed in the latest version of
vnc4, which is due to be installed in the Debian FTP archive:

vnc4_4.1.1+X4.3.0-37.diff.gz
  to main/v/vnc4/vnc4_4.1.1+X4.3.0-37.diff.gz
vnc4_4.1.1+X4.3.0-37.dsc
  to main/v/vnc4/vnc4_4.1.1+X4.3.0-37.dsc
vnc4server_4.1.1+X4.3.0-37_i386.deb
  to main/v/vnc4/vnc4server_4.1.1+X4.3.0-37_i386.deb
xvnc4viewer_4.1.1+X4.3.0-37_i386.deb
  to main/v/vnc4/xvnc4viewer_4.1.1+X4.3.0-37_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ola Lundqvist <[email protected]> (supplier of updated vnc4 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 10 Mar 2010 21:37:21 +0100
Source: vnc4
Binary: vnc4server xvnc4viewer
Architecture: source i386
Version: 4.1.1+X4.3.0-37
Distribution: unstable
Urgency: low
Maintainer: Ola Lundqvist <[email protected]>
Changed-By: Ola Lundqvist <[email protected]>
Description: 
 vnc4server - Virtual network computing server software
 xvnc4viewer - Virtual network computing client software for X
Closes: 572678
Changes: 
 vnc4 (4.1.1+X4.3.0-37) unstable; urgency=low
 .
   * Applied patch from Ben Armstrong <[email protected]> that makes dpi
     to remain constant after RandR changes to geomentry, closes:
     #572678.
Checksums-Sha1: 
 2bf095d6f764938ec8cb06ef6e75e98852856772 1083 vnc4_4.1.1+X4.3.0-37.dsc
 8b656586e2c219c80c9de020ad01b23b5ed4bfe1 66248 vnc4_4.1.1+X4.3.0-37.diff.gz
 77ac5257db36d9e6179186d48622ab52bd1c250d 1865614 
vnc4server_4.1.1+X4.3.0-37_i386.deb
 7f6dfa40d24ea2fb60f23a605ed65e99531a95fa 134048 
xvnc4viewer_4.1.1+X4.3.0-37_i386.deb
Checksums-Sha256: 
 a13eaf916672d0ce8b7965cbe8066e3b9aa80977db11fa21042097bf310a81a0 1083 
vnc4_4.1.1+X4.3.0-37.dsc
 11e17f557acec22e97a99c403f26855ff42d17f60fb4045880656dd6aa41c40e 66248 
vnc4_4.1.1+X4.3.0-37.diff.gz
 4e20ce1563f6abb23a66c150c0a1e65ea411080e723375a03db1043cb0e1c2a5 1865614 
vnc4server_4.1.1+X4.3.0-37_i386.deb
 543c84f2eaccfc4b780ab89c1dde23b2076aea73389c3f414dfb320adea5a8ee 134048 
xvnc4viewer_4.1.1+X4.3.0-37_i386.deb
Files: 
 439562b7d6d05d6b0e6616b14b0eb793 1083 x11 optional vnc4_4.1.1+X4.3.0-37.dsc
 5ef6046b2e627cd47869e62d249eaa82 66248 x11 optional 
vnc4_4.1.1+X4.3.0-37.diff.gz
 62a76c6af9431631b66cc2ebef2f61ee 1865614 x11 optional 
vnc4server_4.1.1+X4.3.0-37_i386.deb
 89623f41a406f2572fe2d38cdf6c2764 134048 net optional 
xvnc4viewer_4.1.1+X4.3.0-37_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkuYB9EACgkQGKGxzw/lPdlyVACeKGiTrlsaBuyvD0n+eT1EesGC
2MAAniX2r+Qhnm90efxq1PnXtzJOd2o0
=JMF4
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to