From: ross@rosslaird.info (Ross A. Laird)
To: help-gnu-emacs@gnu.org
Subject: Display font strangeness in emacs-snapshot
Date: Mon, 22 Sep 2008 09:16:32 -0700 [thread overview]
Message-ID: <878wtkdulb.fsf@rosslaird.info> (raw)
After making some changes to my xorg.conf file (Ubuntu Hardy) to get an
external projector working, emacs-snapshot now seems to want to shrink
itself to a tiny window, with tiny fonts, upon startup. Here's what I
changed in xorg.conf:
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "metamodes"
"CRT: 1600x1024 +0+0,
DFP: 1920x1200 +0+0;
CRT: nvidia-auto-select +0+0, DFP: nvidia-auto-select +0+0"
EndSection
So, my main screen resolution is 1920x1200, and other applications pick
up the font sizes correctly; but emacs-snapshot (GNU Emacs 23.0.60.1
(i486-pc-linux-gnu, GTK+ Version 2.12.9) gives me tiny little text
(about 4 points). The menus show the correct font size (but I assume
those are gtk). In .emacs I have this:
;fonts
(if (>= emacs-major-version 23)
(set-default-font "DejaVu Sans Mono-9"))
I now have to scale the above all the way up to "DejaVu Sans Mono-15" to get
a readable typeface. Now, I can do this, but it seems strange: why would
emacs refer to something as size 15 when that same type size is called 9
by other applications? And besides, why did this change at all? Emacs
was correctly scaling and showing the fonts before I changed xorg.conf.
Perhaps it's a matter of pixel size vs. point size.
Hints and suggestions are welcome.
Cheers.
Ross
--
Ross A. Laird, PhD
www.rosslaird.info
next reply other threads:[~2008-09-22 16:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-22 16:16 Ross A. Laird [this message]
[not found] <mailman.19700.1222100213.18990.help-gnu-emacs@gnu.org>
2008-09-24 13:00 ` Display font strangeness in emacs-snapshot rustom
2008-09-24 14:50 ` Ross A. Laird
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878wtkdulb.fsf@rosslaird.info \
--to=ross@rosslaird.info \
--cc=help-gnu-emacs@gnu.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).