[cairo] Pen vertex estimation solutions

Carl Worth cworth at cworth.org
Tue Oct 12 14:13:55 PDT 2004


On Tue, 12 Oct 2004 12:26:34 -0700, Keith Packard wrote:
> You'll want to run xterm in utf-8 mode and then tell emacs to output in 
> utf-8 mode.
> 
> 	$ xterm +lc -u8

Thanks. I had already tried "xterm -u8", but I hadn't gotten very far.

I had even tried all this with emacs before too without any luck.

I think I just got it though. It requires teaching emacs that the file
is utf-8, (I'm not sure why it doesn't figure this out properly), and
that the terminal wants utf-8.

So, the following lets me view our new comment just fine:

	; I don't want anything but utf-8 really
	(setq file-coding-system-alist (cons '("" . utf-8) file-coding-system-alist))
	(set-terminal-coding-system 'utf-8)

But I may still have to futz with the input stuff a bit.

Oh, and this all seems to work even after removing the mule-ucs package,
(which was slowing down the load time of emacs quite a bit).

Anyway, thanks for the help. I'm glad to be in the modern world all of a
sudden.

> Now if you use bitstream vera sans mono, you should see all of the glyphs.

Yes, and they're mostly quite lovely. Interestingly enough, the
less-than-or-equal glyph is rendered without any anti-aliasing (coming
from a bitmap font?). So it sticks out rather objectionably.

-Carl



More information about the cairo mailing list