From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juhapekka Tolvanen Newsgroups: gmane.emacs.help Subject: Re: Why can't emacs recognize X fonts? Date: Sun, 20 Jun 2010 06:44:21 +0300 Organization: What?+ Me organized?+ Never!1 Message-ID: <87hbky2wru.fsf@juhtolv.dyndns.org> References: Reply-To: SNAFU.juhtolv.POW@MIA.iki.RIP.fi.FUBAR.example.com.invalid NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291951603 27864 80.91.229.12 (10 Dec 2010 03:26:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Dec 2010 03:26:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 10 04:26:36 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQtct-0005H1-Is for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Dec 2010 04:26:34 +0100 Original-Received: from localhost ([127.0.0.1]:42662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQtcr-0005AF-Fz for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 22:26:29 -0500 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 53 Original-X-Trace: individual.net LlqKDwV5NJFD4HK+Q0cAhQGLZqSrUBU2/1Hl+szTrv3Leavt+8 Cancel-Lock: sha1:eZ4VHh+7Clw1uYmK2p38huhucEM= sha1:TuBDVlE9Os4QAEb+TwGQMn62ig8= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-User-Agent-URL: http://www.gnus.org/ X-FRA-05: Hej FRA! Det finns ingen anledning att =?iso-8859-1?Q?l=E4sa?= min Usenet News -artikel. X-FRA-04: Jag har ingenting att =?iso-8859-1?Q?g=F6ra?= med Devrimci Sol, ETA eller al-Jama'a al-Islamiyya. X-FRA-03: Jag har aldrig gjort Shahada eller tillverkat =?iso-8859-1?Q?k?= =?iso-8859-1?Q?=E4rnvapen=2C?= jag vet knappt ens vad al-Nour betyder. X-FRA-02: Men tack =?iso-8859-1?Q?f=F6r?= visat intresse! X-FRA-01: PS. Terroristattacker kommer knappast att planeras =?iso-8859-1?Q?=F6ver?= okrypterade Usenet News -diskussioner. Sabba FRA-lagen =?iso-8859-1?Q?p=E5?= www.hejfra.se Original-Xref: usenet.stanford.edu gnu.emacs.help:179122 X-Mailman-Approved-At: Thu, 09 Dec 2010 20:23:48 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77270 Archived-At: Daniel Pittman writes: > Qiang Guo writes: > >> I'm using a emacs 23.2 I built on Mac OSX under X11. However, it can't not >> recognize fonts like Monaco which are available in X11. For example, I can >> see fonts by xlsfonts command. Is there any compiling parameter missing ? > > In 23.2, xft font support (and other pluggable back-ends, which may also apply > on your platform) are available to Emacs. By default, I suspect it is using > one of those. > > If you look in the info section "25.7 Fonts", you can there read about the > configuration options available to you to make this work as expected. If your Emacs uses Xft/fontconfig/Freetype/etc. for its fonts, then you can get a list of available fonts this way: fc-list It gives very long output. Feel free to pipe it through grep, sort, uniq, less etc. For example, if I want to know names of all fonts that belong to DejaVu-family, I can do this: % fc-list | grep -i dejavu | sort DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold,Bold DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold Oblique,Bold Oblique DejaVu Sans,DejaVu Sans Condensed:style=Condensed,Book DejaVu Sans,DejaVu Sans Condensed:style=Condensed Oblique,Oblique DejaVu Sans,DejaVu Sans Light:style=ExtraLight DejaVu Sans Mono:style=Bold DejaVu Sans Mono:style=Bold Oblique DejaVu Sans Mono:style=Book DejaVu Sans Mono:style=Oblique DejaVu Sans:style=Bold DejaVu Sans:style=Bold Oblique DejaVu Sans:style=Book DejaVu Sans:style=Oblique DejaVu Serif,DejaVu Serif Condensed:style=Condensed Bold,Bold DejaVu Serif,DejaVu Serif Condensed:style=Condensed Bold Italic,Bold Italic DejaVu Serif,DejaVu Serif Condensed:style=Condensed,Book DejaVu Serif,DejaVu Serif Condensed:style=Condensed Italic,Italic DejaVu Serif:style=Bold DejaVu Serif:style=Bold Italic DejaVu Serif:style=Book DejaVu Serif:style=Italic -- Juhapekka "naula" Tolvanen * http colon slash slash iki dot fi slash juhtolv "Quidquid Latine dictum sit altum videtur."