Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2011 08:05:47 -0800
From:      Ted Mittelstaedt <tedm@mittelstaedt.us>
To:        freebsd-emulation@freebsd.org
Subject:   Re: skype-2.0.0.72,1 && font size
Message-ID:  <4D39AEDB.1070008@mittelstaedt.us>
In-Reply-To: <201101211350.p0LDoii3017220@lurza.secnetix.de>
References:  <201101211350.p0LDoii3017220@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/21/2011 5:50 AM, Oliver Fromme wrote:
> Matthias Apitz<guru@unixarea.de>  wrote:
>   >  It is a xorg.conf in a VMWare virtual machine and it shows:
>   >
>   >  $ xdpyinfo | grep dots
>   >    resolution:    230x173 dots per inch
>   >
>   >  Sould it be adjusted to 100x100? Thanks for your hint
>
> Yes, unless your display is 21.2 x 15.9 cm (at 1920 x 1080
> pixels), which seems unlikely.  :-)
>
> When the dpi value is incorrect, i.e. too high, then some
> applications will think that your screen is much smaller
> than it really is, so they adjust the sizes of fonts and
> icons to be bigger.  This is exactly the symptom that you
> are seeing.
>
> For a quick check, restart your X server with the option
> -dpi 100 (or modify your xorg.conf appropriately) and
> verify the font sizes in your applications.  If it's
> better, then just keep it that way.
>
> 100 dpi should be correct for a screen that is ~ 22 inch.
> One or two inches more or less won't hurt either.  If it's
> less than 20 inch, you can also try 110 or 120 dpi.
>
> If you're a perfectionist, you can calculate the exact
> dpi value for your screen:  Divide the number of pixels
> per row (horizontally) by the width of the screen in
> inch (remember:  inch = cm / 2.54).  For example, my
> screen here (also 1920 x 1080) is 47.7 cm wide, which
> is 18.78 inch.  Thus:  1920 / 18.78 = 102 dpi.  I have
> rounded it to 100 dpi.
>
> You can also enter the width (in mm) directly in xorg.conf
> (see my previous reply in this thread), so the X server
> will calculate the dpi value itself.  Personally I prefer
> the dpi value to be a round number, so I specify it on
> the X command line directly.
>
> In many (most?) cases, when using digital connections such
> as HDMI, the X server detects the correct display size
> automatically, so there is no need to modify the dpi value
> manually.  However, since you're running inside a VMWare
> virtual machine, I guess that this autodetection doesn't
> work through the virtualization layer.
>

This problem is also common with many KVM switches as they
are not 2-way on the video port and will not pass the DPMS
info back to the video card from the monitor.  The screen works
fine if the monitor is plugged directly into the video
port but not when it's on the KVM - unless you manually
configure everything in the x config file.

Ted

> Best regards
>     Oliver
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D39AEDB.1070008>