help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs fonts and unicode


From: Peter Dyballa
Subject: Re: Emacs fonts and unicode
Date: Sat, 3 May 2008 01:28:19 +0200


Am 02.05.2008 um 19:10 schrieb Paulo J. Matos:

How can I have the best of both worlds?

Try to extend the fontset(s) you use with something like this:

  (set-fontset-font "fontset-default" (cons (decode-char 'ucs #x2000)
(decode-char 'ucs #x206f)) '("dejavu sans" . "iso10646-1")) ; General Punctuation

Before you do so (for every fontset and each of its sizes) you should check which fonts have the characters you see as boxes. You are not restricted to iso10646-1 encoded fonts, you could also use CJK fonts, they just need to provide these glyphs. To determine their Unicode value, position the mouse cursor on each of them and type:

        C-u C-x =

You don't need to specify a whole Unicode character block, you can use an arbitrary range or even just one code point you want to specify.

--
Greetings

  Pete

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
                                – Rich Cook







reply via email to

[Prev in Thread] Current Thread [Next in Thread]