From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: fonts in carbon emacs Date: Sun, 03 Jul 2005 21:15:42 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1120394063 13184 80.91.229.2 (3 Jul 2005 12:34:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2005 12:34:23 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 03 14:34:08 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dp3fi-0001ly-90 for ged-emacs-devel@m.gmane.org; Sun, 03 Jul 2005 14:34:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dp3fd-0005Od-EK for ged-emacs-devel@m.gmane.org; Sun, 03 Jul 2005 08:34:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dp3fD-0005Jj-DI for emacs-devel@gnu.org; Sun, 03 Jul 2005 08:33:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dp3f0-0005E2-7u for emacs-devel@gnu.org; Sun, 03 Jul 2005 08:33:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dp3ez-000566-G9 for emacs-devel@gnu.org; Sun, 03 Jul 2005 08:33:21 -0400 Original-Received: from [133.82.132.2] (helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dp3TW-0002q2-Cs for emacs-devel@gnu.org; Sun, 03 Jul 2005 08:21:30 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 6985E2CA3 for ; Sun, 3 Jul 2005 21:15:42 +0900 (JST) Original-To: emacs-devel@gnu.org In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:40204 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40204 >>>>> On Sun, 03 Jul 2005 15:11:25 +0400, Peter Novodvorsky said: > It works great when I'm switching with leim C-\, however when I try > to switch group with Mac OS's native switch it draws some strange > symbols. Is it possible to make emacs look at global group and > switch leim one accordingly? That's what I mentioned "tons of wrong glyphs" in http://lists.gnu.org/archive/html/emacs-pretest-bug/2005-06/msg00547.html. Please refer to its followup messages to see how to customize a fontset so that it may not introduce wrong glyphs. > Another problem that persists is that when I try to customize > default font (I want another background for font), I get in the same > situation I was before? How can I change background for each font > generated from fontset? The reason is that a fontset associated to a face is reverted to a font once the face is customized. For example, "M-x describe-face RET default RET" says Font or fontset: fontset-mac just after startup. But after evaluating "(set-face-attribute 'default nil :height 130)", it becomes Font or fontset: -apple-monaco-medium-r-normal--13-130-75-75-m-130-mac-roman I'm not sure whether it's possible to preserve fontset after such customization. A workaround is to customize "fontset-default" as follows: (fontset-add-mac-fonts "fontset-default" "monaco") But it has some drawbacks that 1) It does harm to ETL font users, and 2) Font family for Central-European/Cyrillic fonts are not synchronized with that for the ASCII (or mac-roman) font. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp