Nice fonts for emacs 22 GTK on Linux ?
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
Nice fonts for emacs 22 GTK on Linux ?         


Author: Brian Adkins
Date: Feb 6, 2008 14:15

I've been Googling for hours, and have rebuilt emacs 22 several times,
and I still can't seem to get a decent font working. I first tried the
Ubuntu packages for emacs 22, but when I failed to get a readable
font, I tried building from source as follows:

./configure --with-gtk --enable-font-backend --with-xft --with-
freetype --with-png --with-tiff --with-jpeg
make
sudo make install

The built-in font selection dialog (from Options | Set font) only has
a few fonts to choose from, so I've been trying to set them manually
as follows:

emacs -r -fn "-bitstream-bitstream vera sans mono-medium-r-*-*-*-100-*-
*-*-*-*-*"

But the fonts look all jaggedy :(

I thought emacs 22 made an improvement by providing anti-aliased font
capabilities - is this true? If so, how does one enable it? Some
articles have stated that 22 doesn't provide this capability.

Brian Adkins
13 Comments
Re: Nice fonts for emacs 22 GTK on Linux ?         


Author: Bill O'Connor
Date: Feb 6, 2008 14:50

Brian Adkins gmail.com> writes:
> I've been Googling for hours, and have rebuilt emacs 22 several times,
> and I still can't seem to get a decent font working. I first tried the
> Ubuntu packages for emacs 22, but when I failed to get...
Show full article (1.15Kb)
no comments
Re: Nice fonts for emacs 22 GTK on Linux ?         


Author: Tom Rauchenwald
Date: Feb 6, 2008 14:53

Brian Adkins gmail.com> writes:
> I've been Googling for hours, and have rebuilt emacs 22 several times,
> and I still can't seem to get a decent font working. I first tried the
> Ubuntu packages for emacs 22, but when I failed to get a readable
> font, I tried building from source as follows:
...
> I thought emacs 22 made an improvement by providing anti-aliased font
> capabilities - is this true? If so, how does one enable it? Some
> articles have stated that 22 doesn't provide this capability.

No, you still need Emacs from CVS.
Have a look at this: http://www.emacswiki.org/cgi-bin/wiki/XftGnuEmacs
> Brian Adkins

Tom

--
Then I drew in a breath, and my renewed will with it, lifted the rod
in my right hand, murmured a phrase in a language I didn't know, and
blew the tires off his fucking truck.
-- Harry Dresden
no comments
Re: Nice fonts for emacs 22 GTK on Linux ?         


Author: Jason Rumney
Date: Feb 6, 2008 15:11

On 6 Feb, 22:50, Bill O'Connor gmail.com> wrote:
> I used this branch:
>
> cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co -r emacs-unicode-2 emacs

That branch is now dead. Use the CVS trunk instead (ie leave out the "-
r emacs-unicode-2" above).

If you want to switch an existing copy to the trunk, use "cvs update -
A".
no comments
Re: Nice fonts for emacs 22 GTK on Linux ?         


Author: Nick Roberts
Date: Feb 6, 2008 15:38

> I used this branch:
>
> cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co -r emacs-unicode-2 emacs
>
>
> Details here:
>
> http://www.emacswiki.org/cgi-bin/wiki/XftGnuEmacs

If you check that link it points out that emacs-unicode-2 has recently been
merged to the trunk and that

cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs

should be enough now.

To update from the trunk, instead ofemacs-unicode-2, just do

cvs update -A

as further Unicode development will happen there.

no comments
Re: Nice fonts for emacs 22 GTK on Linux ?         


Author: Peter Dyballa
Date: Feb 6, 2008 15:45

Am 06.02.2008 um 23:50 schrieb Bill O'Connor:
> cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co
> -r emacs-unicode-2 emacs

This version was latest known as GNU Emacs 23.0.60 – the "other" GNU
Emacs, version 23.0.50, has been upgraded on the weekend to version
23.0.60, so there is, hopefully, only one available via CVS.

You have three choices to run with font-backend active (you can also
invoke GNU Emacs with --disable-font-backend), with any (*one*) of
these three X resources:

Emacs.FontBackend: x
Emacs.FontBackend: xft
Emacs.FontBackend: ftx

First one does nothing (for me, maybe more in X11R7.x), second one
does font-aliasing via libXft, third one does this via libfreetype2
and when compiled *without* libXft.
Show full article (1.51Kb)
no comments
Re: Nice fonts for emacs 22 GTK on Linux ?         


Author: Brian Adkins
Date: Feb 7, 2008 08:21

On Feb 6, 6:38 pm, Nick Roberts snap.net.nz> wrote:
>> I used this branch:
>>
>> cvs -z3 -d:pserver:anonym...@cvs.savannah.gnu.org:/sources/emacs co -r emacs-unicode-2 emacs
>>
>>
>> Details here:
>>
>>http://www.emacswiki.org/cgi-bin/wiki/XftGnuEmacs
>
> If you check that link it points out that emacs-unicode-2 has recently been
> merged to the trunk and that
>
> cvs -z3 -d:pserver:anonym...@cvs.savannah.gnu.org:/sources/emacs co emacs
>
> should be enough now.
>
> To update from the trunk, instead ofemacs-unicode-2, just do
>
> cvs update -A ...
Show full article (1.93Kb)
no comments
Re: Nice fonts for emacs 22 GTK on Linux ?         


Author: Peter Dyballa
Date: Feb 7, 2008 08:45

Am 07.02.2008 um 17:21 schrieb Brian Adkins:
> is it fairly stable?

Yes.

--
Greetings

Pete

Let's face it; we don't want a free market economy either.
– James Farley, president, Coca-Cola Export Corp., 1959
no comments
Re: Nice fonts for emacs 22 GTK on Linux ?         


Author: Tom Rauchenwald
Date: Feb 7, 2008 09:17

Brian Adkins gmail.com> writes:
> Thanks guys! I don't know how I got the impression that the emacss22
> package was all I needed - what a frustrating experience. By the way,
> if someone could edit that wiki page to make it more clear, it might
> be helpful. As I explained in my blog post:
>
> http://lojic.com/blog/2008/02/07/nice-fonts-for-gnu-emacs-on-ubuntu-linux/

As you said, it is a wiki, so edit it to what you think might be
helpful.

Thanks,
Tom

--
Then I drew in a breath, and my renewed will with it, lifted the rod
in my right hand, murmured a phrase in a language I didn't know, and
blew the tires off his fucking truck.
-- Harry Dresden
no comments
Re: Nice fonts for emacs 22 GTK on Linux ?         


Author: Brian Adkins
Date: Feb 7, 2008 09:57

On Feb 7, 12:17 pm, Tom Rauchenwald
wrote:
> Brian Adkins gmail.com> writes:
>> Thanks guys! I don't know how I got the impression that the emacss22
>> package was all I needed - what a frustrating experience. By the way,
>> if someone could edit that wiki page to make it more clear, it might
>> be helpful. As I explained in my blog post:
>
>
> As you said, it is a wiki, so edit it to what you think might be
> helpful.

I appreciate your trust, but I really don't think I'm qualified to
hack out the obsolete information from that page. I would likely be
unintentionally deleting some good with the bad.

However, I did move the confusing notice a bit lower on the page which
should be helpful.
no comments
1 2