all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Display font strangeness in emacs-snapshot
@ 2008-09-22 16:16 Ross A. Laird
  0 siblings, 0 replies; 3+ messages in thread
From: Ross A. Laird @ 2008-09-22 16:16 UTC (permalink / raw)
  To: help-gnu-emacs


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









^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Display font strangeness in emacs-snapshot
       [not found] <mailman.19700.1222100213.18990.help-gnu-emacs@gnu.org>
@ 2008-09-24 13:00 ` rustom
  2008-09-24 14:50   ` Ross A. Laird
  0 siblings, 1 reply; 3+ messages in thread
From: rustom @ 2008-09-24 13:00 UTC (permalink / raw)
  To: help-gnu-emacs

On Sep 22, 9:16 pm, r...@rosslaird.info (Ross A. Laird) wrote:
> 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

Hardy X  is screwed up in more than one way.  Ive just finished a
reinstall thanks only to that. And its been so for nearly two years!

I tried raising it on the ubuntu forums and was told to shut up.
http://ubuntuforums.org/showthread.php?t=773851&page=6.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Display font strangeness in emacs-snapshot
  2008-09-24 13:00 ` rustom
@ 2008-09-24 14:50   ` Ross A. Laird
  0 siblings, 0 replies; 3+ messages in thread
From: Ross A. Laird @ 2008-09-24 14:50 UTC (permalink / raw)
  To: help-gnu-emacs

rustom <rustompmody@gmail.com> writes:

> Hardy X  is screwed up in more than one way.  Ive just finished a
> reinstall thanks only to that. And its been so for nearly two years!

That's unfortunate. My system seems to be mostly OK, and the emacs
resolution problem seems to have fixed itself after (I think) one
restart of the X system and one reboot. I have no idea what changed.

Also, sorry to hear about your experience on the Ubuntu forums. I
generally find them to be very helpful over there.

Cheers.

Ross

-- 
Ross A. Laird, PhD
www.rosslaird.info





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-24 14:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-22 16:16 Display font strangeness in emacs-snapshot Ross A. Laird
     [not found] <mailman.19700.1222100213.18990.help-gnu-emacs@gnu.org>
2008-09-24 13:00 ` rustom
2008-09-24 14:50   ` Ross A. Laird

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.