• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: remote emacs fonts and xorg.conf on Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: remote emacs fonts and xorg.conf on Leopard


  • Subject: Re: remote emacs fonts and xorg.conf on Leopard
  • From: Charles Williams <email@hidden>
  • Date: Sun, 27 Jan 2008 21:36:28 -0500

Hmm.  For some reason, this had seemed to cause problems before.  For now, I just put the font path into my top-level xinitrc, and everything seems to be working OK.

Thanks,
Charles


On Jan 26, 2008, at 12:27 AM, Jeremy Huddleston wrote:

What do you mean by "the current implementation doesn't like having a ~/.xinitrc"?  You can have your own ~/.xinitrc if you want...

cp /usr/X11/lib/X11/xinit/xinitrc ~/.xinitrc

--Jeremy

On Jan 25, 2008, at 19:22, Charles Williams wrote:

Doing that seems to fix things.  Before I did it, I temporarily changed the 100dpi fonts back to the way they were before.  This is the sort of thing I would have done in my ~/.xinitrc before, but the current implementation doesn't like having a ~/.xinitrc.  How can I set this up as my default setting?  Thanks for your help.

Charles


On Jan 25, 2008, at 8:14 PM, Jeremy Huddleston wrote:

Can you guys try this alternative font path and let me know if it fixes the problem for you:

xset fp= "/usr/X11/lib/X11/fonts/misc/,/usr/X11/lib/X11/fonts/TTF/,/usr/X11/lib/X11/fonts/OTF,/usr/X11/lib/X11/fonts/Type1/,/usr/X11/lib/X11/fonts/75dpi:unscaled/,/usr/X11/lib/X11/fonts/100dpi/:unscaled,/usr/X11/lib/X11/fonts/75dpi:unscaled/,/usr/X11/lib/X11/fonts/100dpi/:unscaled,/Library/Fonts,/System/Library/Fonts"

Note that just in case email formatting changes in transport, this is how it is formatted:

xset fp= "<path 1>,<path 2>,...<path n>"

--Jeremy

On Jan 25, 2008, at 13:49, Sam wrote:


On Jan 25, 2008, at 12:59 PM, Jeremy Huddleston wrote:


On Jan 25, 2008, at 05:35, Sam wrote:


On Jan 24, 2008, at 11:12 PM, Jeremy Huddleston wrote:


Hmm...  is your emacs using xft or xfs?  Run 'ldd /usr/bin/emacs | grep Xft'

What does 'xdpyinfo' show when you run it remotely?  It should say the same... anx 84dpi is close enough to 75dpi that it shouldn't be way-to-big.

It appears that xdpyinfo shows the same thing. emacs doesn't appear to be running Xft, as shown. The remote machine is running Red Hat Enterprise, to the best of my knowledge.

Ok, then would you mind trying an xft/fontconfig enabled version of emacs to let me know how if it still is an issue in that case?  If you don't have access to one, let me know, and I'll get you an account on one of my linux boxes to test my hunch.

I missed this last offer, unfortunately, and went ahead and built one myself. I've attached two tiff files, showing my installed Emacs on the remote machine on the left, and the one I just built on the remote machine, on the right. Emacs1.tiff is in the situation where nothing has been changed in /usr/X11/lib/X11/fonts, and Emacs2.tiff is in the situation where the links have been modified to fool X into thinking that the 75dpi fonts are also the 100dpi fonts.

You'll see that Xft is only part of the issue. Look at the font size in the menu bar. It's identical in both emacsen in each image. Xft helps (compare the font size in the status lines; large on the left in the first image, small in the second, and the same size in both Xft-enabled cases), but it doesn't address the font size issue. And notice that the link wizardry alone fixes everything; the emacs on the left in the second image is the one I see in Tiger, and the one I'm interested in. So I think Xft is a bit of a red herring here.

Thanks for all your help.

Sam Bayer

<Emacs1.tiff><Emacs2.tiff>


Charles A. Williams
Dept. of Earth & Environmental Sciences
Science Center, 2C01B
Rensselaer Polytechnic Institute
Troy, NY  12180
Phone:    (518) 276-3369
FAX:        (518) 276-2012
e-mail:    email@hidden




Charles A. Williams

Dept. of Earth & Environmental Sciences

Science Center, 2C01B

Rensselaer Polytechnic Institute

Troy, NY  12180

Phone:    (518) 276-3369

FAX:        (518) 276-2012

e-mail:    email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)

This email sent to email@hidden

References: 
 >Re: remote emacs fonts and xorg.conf on Leopard (From: Sam <email@hidden>)
 >Re: remote emacs fonts and xorg.conf on Leopard (From: Jeremy Huddleston <email@hidden>)
 >Re: remote emacs fonts and xorg.conf on Leopard (From: Sam <email@hidden>)
 >Re: remote emacs fonts and xorg.conf on Leopard (From: Jeremy Huddleston <email@hidden>)
 >Re: remote emacs fonts and xorg.conf on Leopard (From: Sam <email@hidden>)
 >Re: remote emacs fonts and xorg.conf on Leopard (From: Jeremy Huddleston <email@hidden>)
 >Re: remote emacs fonts and xorg.conf on Leopard (From: Jeremy Huddleston <email@hidden>)
 >Re: remote emacs fonts and xorg.conf on Leopard (From: Charles Williams <email@hidden>)
 >Re: remote emacs fonts and xorg.conf on Leopard (From: Jeremy Huddleston <email@hidden>)

  • Prev by Date: Re: Trying to revert X11 after 2.1.3 install
  • Next by Date: Re: X11R6 -broadcast -once
  • Previous by thread: Re: remote emacs fonts and xorg.conf on Leopard
  • Next by thread: Re: remote emacs fonts and xorg.conf on Leopard
  • Index(es):
    • Date
    • Thread