* Latin characters not antialiased in CVS emacs
@ 2008-03-04 14:31 cube15
2008-03-05 18:39 ` Peter Dyballa
2008-03-05 19:02 ` cube15
0 siblings, 2 replies; 3+ messages in thread
From: cube15 @ 2008-03-04 14:31 UTC (permalink / raw)
To: Help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Latin characters not antialiased in CVS emacs
2008-03-04 14:31 Latin characters not antialiased in CVS emacs cube15
@ 2008-03-05 18:39 ` Peter Dyballa
2008-03-05 19:02 ` cube15
1 sibling, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2008-03-05 18:39 UTC (permalink / raw)
To: cube15; +Cc: Help-gnu-emacs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Latin characters not antialiased in CVS emacs
2008-03-04 14:31 Latin characters not antialiased in CVS emacs cube15
2008-03-05 18:39 ` Peter Dyballa
@ 2008-03-05 19:02 ` cube15
1 sibling, 0 replies; 3+ messages in thread
From: cube15 @ 2008-03-05 19:02 UTC (permalink / raw)
To: Help-gnu-emacs
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
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-03-05 19:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-04 14:31 Latin characters not antialiased in CVS emacs cube15
2008-03-05 18:39 ` Peter Dyballa
2008-03-05 19:02 ` cube15
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).