ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Денис Смирнов" <mithraen@freesource.info>
To: community@lists.altlinux.org
Subject: [Comm] Разный DPI по информации xdpyinfo и xrandr
Date: Sun, 19 Aug 2012 00:58:16 +0400
Message-ID: <20120818205816.GA8417@t60p.mithraen.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 891 bytes --]

$ xrandr | grep mm
LVDS connected 1400x1050+0+0 (normal left inverted right x axis y axis) 287mm x 215mm
$ xdpyinfo | grep dimensions
  dimensions:    1400x1050 pixels (370x277 millimeters)

С линейкой не мерял, но вывод xrandr вполне похож на правду для этого 14"
ноутбука, а вот вывод xdyinfo откровенное вранье.

https://bugs.freedesktop.org/show_bug.cgi?id=23705 -- здесь эта бага
обсуждается.

Очень странная позиция делать DPI 96 по-умолчанию, игнорируя даже вполне
известные данные по размеру монитора :-/

Там же приведен рецепт, вставка которого в startup скрипты вправляет
интеллект иксам.

Просто потрясает объяснение зачем это нужно -- для совместимости
отображения шрифтов в web-страницах с windows (где DPI 96 прибито
гвоздями).

-- 
С уважением, Денис

http://mithraen.ru/
----------------------------------------------------------------------------

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

             reply	other threads:[~2012-08-18 20:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-18 20:58 Денис Смирнов [this message]
2012-08-18 21:30 ` Michael Shigorin
2012-08-18 22:08   ` Денис Смирнов
2012-08-18 22:09 ` Michael Shigorin
2012-08-19 16:02   ` Денис Смирнов

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120818205816.GA8417@t60p.mithraen.ru \
    --to=mithraen@freesource.info \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git