From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sebastien Kirche Newsgroups: gmane.emacs.help Subject: Re: Emacs and fontsets Date: Tue, 21 Sep 2004 11:25:53 +0200 Organization: Aucune. Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <87vfe8aopj.fsf@inspiron.nicundtas.de> <874qlshkn3.fsf@inspiron.nicundtas.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1095759307 18435 80.91.229.6 (21 Sep 2004 09:35:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Sep 2004 09:35:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 21 11:34:57 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C9h33-0007Ts-00 for ; Tue, 21 Sep 2004 11:34:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9h8y-0008SG-Fe for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Sep 2004 05:41:04 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fr.ip.ndsoftware.net!proxad.net!feeder2-1.proxad.net!news10-e.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (darwin) Cancel-Lock: sha1:qpIAwzQmaXNdRu96lBmKnXVVBcw= Original-Lines: 60 Original-NNTP-Posting-Date: 21 Sep 2004 11:31:05 MEST Original-NNTP-Posting-Host: 195.25.216.129 Original-X-Trace: 1095759065 news10-e.free.fr 2376 195.25.216.129:11252 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:125427 Original-To: help-gnu-emacs@gnu.org 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20783 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20783 Hi, Le 20 Sep 2004, Tassilo Horn a dit : > zrr writes: > > > hmm...I think the '-gnu-unifont-' is not really font name. It's > > likely to indicate some fonts that contain unicode > > characters. You can install 'gnu-intlfonts' package: > > I'm quite sure that -gnu-unifont-*-*-*-*-16-*-*-*-*-*-iso10646-1 is a > font name. If I put > > Emacs*font: -gnu-unifont-*-*-*-*-16-*-*-*-*-*-iso10646-1 > > in my ~/.Xdefaults and start Emacs and comment out the Fontset part > above all unicode chars are displayed correctly, but this font causes > some very strange behaviour (Some spaces are wider than > others.). Therefore I wanted to use it only when it'r really needed. > Maybe create-fontset-from-fontset-spec could be helpful to you. Here is an part of my .emacs where i define a custom fontset for Mac OSX. It seems sometimes buggy (with french accentuated letters when displayed in another frame than initial one letters are bigger -- if anyone can help) (if window-system (progn (set-background-color "gray90") ;;X fonts specs format (désignation des fontes X) ;;-FOUNDRY-FAMILY-WEIGHT-SLANT-WIDTH--PIXELS-POINTS-HRES-VRES-SPACING-AVEWIDTH-CHARSET ;; Set frame size, color and fonts (create-fontset-from-fontset-spec "-*-monaco-*-*-*-*-9-*-*-*-*-*-fontset-monaco, ascii:-apple-monaco-*-*-*-*-9-*-*-*-*-*-*, latin-iso8859-1:-apple-monaco-*-*-*-*-9-*-*-*-*-*-mac-roman, latin-iso8859-15:-apple-monaco-*-*-*-*-9-*-*-*-*-*-mac-roman, utf-8:-apple-monaco-*-*-*-*-9-*-*-*-*-*-mac-roman, mule-unicode-0100-24ff:-apple-monaco-*-*-*-*-9-*-*-*-*-*-mac-roman, mule-unicode-2500-33ff:-etl-fixed-*-*-*-*-9-*-*-*-*-*-mac-roman") ;;mule-unicode-2500-33ff:-etl-fixed-medium-r-normal--14-140-75-75-m-140-mac-roman") ;;mule-unicode-2500-33ff:-apple-monaco-*-*-*-*-9-*-*-*-*-*-mac-roman") ;;latin-iso8859-9:-apple-monaco-*-*-*-*-9-*-*-*-*-*-mac-roman, (setq default-frame-alist '((width . 120) (height . 44) (top . 440);pixels (left . 260);pixels (font . "fontset-monaco");fontset-mac )) ) ) Hth, Sébastien Kirche