Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Latin characters not antialiased in CVS emacs

2 views
Skip to first unread message

cube15

unread,
Mar 4, 2008, 9:31:24 AM3/4/08
to Help-gn...@gnu.org

I've been searching all day long for this on the net and I'm not even getting
close to solving it. It's as a matter of fact the first Linux problem which
I decided to describe on a forum.

I've compiled emacs from CVS, because I wanted the fonts antialiased in X.
Here are the arguments which i passed to ./configure:
./configure --with-x-toolkit=gtk --enable-font-backend --with-xft
--with-freetype

During the compilation I had to switch emacs/lisp/emacs-lisp/byte-opt.el to
it's previous version (it refused to make bootstrap):
http://cvs.savannah.gnu.org/viewvc/emacs/lisp/emacs-lisp/byte-opt.el?root=emacs&r1=1.109&r2=1.110

After that emacs compiled flawlessy.

Now everything seems cool, but Polish diacritic signs aren't antialiased. It
seems like emacs is using another font to display them.

In my .emacs I have only this:
(set-default-font "monospace-10")

Here's a screenshot:
http://flickr.com/photos/19161668@N06/2307456983/sizes/o/

I wonder if someone could help me with this. I found that I should put this
into .emacs:
(set-fontset-font "fontset-default" 'latin '("monospace" ."unicode-bmp"))
Of course it didn't work. I also tried:
(set-fontset-font "fontset-default" 'latin-iso8859-2 '("monospace"
."unicode-bmp"))
and several other variations.

What is interesting, I also didn't have the euro sign antialiased but after
puting
(set-fontset-font "fontset-default" 'gb18030 '("monospace". "unicode-bmp"))
into my .emacs file emacs started to show it antialiased.

I'm a little bit confused with this and I would really appreciate any help.

Thanks in advance ;)
--
View this message in context: http://www.nabble.com/Latin-characters-not-antialiased-in-CVS-emacs-tp15828289p15828289.html
Sent from the Emacs - Help mailing list archive at Nabble.com.

Peter Dyballa

unread,
Mar 5, 2008, 1:39:32 PM3/5/08
to cube15, Help-gn...@gnu.org

Am 04.03.2008 um 15:31 schrieb cube15:

> Now everything seems cool, but Polish diacritic signs aren't
> antialiased. It
> seems like emacs is using another font to display them.


This is usual behaviour. Although (only) *some* fonts stretch from
some glyph to another glyph without gap GNU Emacs sub-divides this
range into charsets, see for example charset-script-alist or char-
script-table. So it can use either this or either that font. This
behaviour is IMO *regular* in the initial (the first) frame. This one
is set up for me with a bit-mapped font, while the default frames
will use a scalable TrueType font. In order to prevent this font
switching you would need to set up a fontset that sets a font for all
charsets/encodings ...

In any case you can position the mouse cursor on a glyph and type C-u
C-x =. In *Help* buffer you'll see a description. Now repeat for the
other glyph. The *Help* buffer has hyper-link button [forward] and
[back] – so you better do *not* kill the *Help* buffer.

You can also invoke 'M-x describe-fontset RET RET'. The output is not
that easily to understand.

Which Emacs.FontBackend X resource are you using?

--
Greetings

Pete
~ o
~_\\_/\
~ O O


cube15

unread,
Mar 5, 2008, 2:02:51 PM3/5/08
to Help-gn...@gnu.org

This is a little embarrassing, but everything turned OK after reboot. Maybe
it has sth. to do with defoma. Most importantly it works.
--
View this message in context: http://www.nabble.com/Latin-characters-not-antialiased-in-CVS-emacs-tp15828289p15855645.html
0 new messages