From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: fontsets on w32 emacs (ver 22.3) Date: Fri, 20 Nov 2009 18:07:39 -0600 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1258764091 7049 80.91.229.12 (21 Nov 2009 00:41:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Nov 2009 00:41:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 21 01:41:24 2009 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.50) id 1NBe2V-0005TY-8G for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Nov 2009 01:41:23 +0100 Original-Received: from localhost ([127.0.0.1]:43352 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBe2U-0005kv-P4 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Nov 2009 19:41:22 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Fri, 20 Nov 2009 18:07:29 -0600 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) Original-Newsgroups: gnu.emacs.help X-No-Archive: yes Original-Lines: 46 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 12.73.129.194 Original-X-Trace: sv3-0YbxA2/8/qW6FXH1JxYWcYp2+bxo3autAoPg/AC9ETBDaeZ/0D2QXQmapfF6b4Sq90dLGE5JDGvnN4I!ATBRU2U1wFgxfqZIJpOeDcZEN1MGKSKldNuOXAucB4Pp0dhKCvx/PCv2WviQ+WVl3kbvrLunFuXZ!GQkGxHuF/ES0PMtEjNuHsYDvpkDBrmY= Original-X-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Original-Xref: news.stanford.edu gnu.emacs.help:174918 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 X-Gmane-Expiry: 2009-12-05 Xref: news.gmane.org gmane.emacs.help:69989 Archived-At: Is it possible to construct fontsets out of ttf fonts or do they have to be bdf on w32 emacs also? For instance, could I make a fontset that includes all the characters from Arial Unicode and supplements them with some from Code2000 or Code2001? I found this code on the emacs wiki: ;; "Greek extended" U+1F00 - U+1FEF (set-fontset-font "fontset-standard" (cons (decode-char 'ucs #x1f00) (decode-char 'ucs #x1fef)) "-*-palatino linotype-*-*-r-*-14-*-*-*-*-*-iso10646-1") ;; is the above referring to a bdf Palatino font? Will something like this also work on w32 emacs? I already have: (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(default ((t (:stipple nil :background "ghostwhite" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 108 :width normal :family "outline-arial unicode ms"))))) (make-frame '((name . "courier") (top . 1) (left . 1) (width . 123) (height . 18) (visibility . icon) ; nil or icon )) (select-frame-by-name "courier") (set-frame-font "-outline-Courier New-normal-r-normal-normal-*-*-96-96-c-*-iso10646-1") Could I add a unicode range to these without disturbing the method that choses glyphs from those two fonts for the two named frames? Are there examples on web somewhere? Thanks, Ed