From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Carbon Font Size Date: Mon, 11 Apr 2005 23:55:18 +0200 Message-ID: <36ad9454e14349ad3cf4239c95c54265@Web.DE> References: <1113063784.805113.277360@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1113256682 19094 80.91.229.2 (11 Apr 2005 21:58:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Apr 2005 21:58:02 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 11 23:58:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DL6uq-0007zL-HM for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Apr 2005 23:57:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DL6V2-0005rk-D1 for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Apr 2005 17:31:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DL6U9-0005br-GL for help-gnu-emacs@gnu.org; Mon, 11 Apr 2005 17:30:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DL6U4-0005Zl-UI for help-gnu-emacs@gnu.org; Mon, 11 Apr 2005 17:30:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DL6U4-0005Zi-QU for help-gnu-emacs@gnu.org; Mon, 11 Apr 2005 17:30:16 -0400 Original-Received: from [217.72.192.209] (helo=smtp05.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DL6sN-0003ZM-AE for help-gnu-emacs@gnu.org; Mon, 11 Apr 2005 17:55:23 -0400 Original-Received: from [84.245.189.84] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.104 #268) id 1DL6sK-0005FZ-00; Mon, 11 Apr 2005 23:55:20 +0200 In-Reply-To: <1113063784.805113.277360@z14g2000cwz.googlegroups.com> Original-To: "Shug Boabby" X-Mailer: Apple Mail (2.619.2) X-Sender: Peter_Dyballa@web.de 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:25583 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25583 Am 09.04.2005 um 18:23 schrieb Shug Boabby: > anyone know how i can get a working size 14 font? First you need to know which fonts your system has. This can be done in Emacs: M-x set-frame-font RET TAB TAB. A *Completions* buffer will open. Save it at once! Now you know your fonts. What you need now are the encodings. M-x list-coding-systems. Save the *Help* buffer too! So you can create your own fontsets now: (create-fontset-from-fontset-spec "-*-lucida sans typewriter regular-medium-r-*-*-0-*-*-*-*-*-fontset-14pt_lucida_sans_typewriter, latin-iso8859-1:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, latin-iso8859-2:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, latin-iso8859-3:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, latin-iso8859-4:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, latin-iso8859-5:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, latin-iso8859-6:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, latin-iso8859-7:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, latin-iso8859-8:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, latin-iso8859-9:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, latin-iso8859-12:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, latin-iso8859-13:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, latin-iso8859-14:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, latin-iso8859-15:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, latin-iso8859-16:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, mac-roman-lower:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, mac-roman-upper:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, mule-unicode-0100-24ff:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, mule-unicode-2500-33ff:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, mule-unicode-e000-ffff:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, iso10646-1:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic, ascii:-*-lucida sans typewriter regular-medium-r-*-mac-cyrillic" t 'noerror) This one uses a font that has only default (bitmap) size. This encoding is only determined by newer Emacsen, some elder ones see that it is probably more correct a Mac-Roman and Windows-Unicode encoded TrueType font. (create-fontset-from-fontset-spec "-*-courier-medium-r-*-*-14-*-*-*-*-*-fontset-14pt_bitstream_courier, latin-iso8859-1:-*-courier-*-14-*-mac-roman, latin-iso8859-2:-*-courier-*-14-*-mac-roman, latin-iso8859-3:-*-courier-*-14-*-mac-roman, latin-iso8859-4:-*-courier-*-14-*-mac-roman, latin-iso8859-5:-*-courier ce-*-14-*-mac-roman, latin-iso8859-6:-*-courier-*-14-*-mac-roman, latin-iso8859-7:-*-courier-*-14-*-mac-roman, latin-iso8859-8:-*-courier-*-14-*-mac-roman, latin-iso8859-9:-*-courier-*-14-*-mac-roman, latin-iso8859-10:-*-courier-*-14-*-mac-roman, latin-iso8859-13:-*-courier-*-14-*-mac-roman, latin-iso8859-14:-*-courier-*-14-*-mac-roman, latin-iso8859-15:-*-courier-*-14-*-mac-roman, latin-iso8859-16:-*-courier-*-14-*-mac-roman, mac-roman-lower:-*-courier-*-14-*-mac-roman, mac-roman-upper:-*-courier-*-14-*-mac-roman, mule-unicode-0100-24ff:-*-courier-*-14-*-mac-roman, mule-unicode-2500-33ff:-*-courier-*-14-*-mac-roman, mule-unicode-e000-ffff:-*-courier-*-14-*-mac-roman, iso10646-1:-*-courier-*-14-*-mac-roman, ascii:-*-courier-*-14-*-mac-roman" t 'noerror) Here two fonts are used to create one fontset. These fonts have more than one (bitmap) size, so I can use it in different sizes. You actively use these fontsets via M-x set-frame-fontset or in .emacs: (setq initial-frame-alist '( (mouse-color . "midnightblue") (foreground-color . "grey20") (background-color . "alice blue") (font . "fontset-12pt_bitstream_courier") (top . 10) (left . 650) (width . 89) (height . 60))) (setq default-frame-alist '( (background-color . "ghost white") (foreground-color . "grey10") (vertical-scroll-bars . left) (font . "fontset-12pt_bitstream_courier") (cursor-color . "purple") (vertical-scroll-bars . left) (cursor-type . box) (top . 20) (left . 150) (width . 89) (height . 56))) Just for your imagination ... -- Greetings Pete