From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: different fonts in different frames are named the same Date: Mon, 23 Jun 2003 22:07:09 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <4569A03A-A5B6-11D7-A9DB-00039363E640@swipnet.se> References: <878B40D6-A0F5-11D7-AE93-00039363E640@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1056399434 3763 80.91.224.249 (23 Jun 2003 20:17:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2003 20:17:14 +0000 (UTC) Cc: sds@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jun 23 22:17:13 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19UXjr-0000uV-00 for ; Mon, 23 Jun 2003 22:16:31 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19UXn4-0006MX-00 for ; Mon, 23 Jun 2003 22:19:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19UXhP-0004F7-Bn for emacs-devel@quimby.gnus.org; Mon, 23 Jun 2003 16:13:59 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19UXeS-0003dZ-7U for emacs-devel@gnu.org; Mon, 23 Jun 2003 16:10:56 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19UXbX-0002hP-P2 for emacs-devel@gnu.org; Mon, 23 Jun 2003 16:07:56 -0400 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19UXbS-0002gS-SU; Mon, 23 Jun 2003 16:07:51 -0400 Original-Received: from accessno42.bodenonline.com (accessno42.bodenonline.com [193.201.16.44])h5NKuBDs028295; Mon, 23 Jun 2003 22:56:16 +0200 Original-To: emacs-devel@gnu.org In-Reply-To: <878B40D6-A0F5-11D7-AE93-00039363E640@swipnet.se> X-Mailer: Apple Mail (2.552) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15197 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15197 >> When I try S-mouse-1 (mouse-set-font), the actual font does not >> change, >> even though the frame size does. >> >> I am confused - have anyone seen anything like that? >> what could be the cause? > > Yes, see the thread "recent emacs font problems?". It is a bad > interaction > between default font and default face. I am trying out a solution now, > but there are some bugs. I expect to checkin something later this > week. Seems I was a bit optimistic. There is one big problem. The default face is not realized before the first redraw, and by that time the size of the frame has been determined. But that is wrong, in the case one has set some face attributes (for example height) that affects the size. Much like the problem described above, but reversed :-) I have a question. There is the global definition of the face and there is the frame local definition. When a new frame is made, should the frame local face be initialized from the global face definition? It is not done until the first redisplay, which is too late. I am thinking of moving this to frame creation time instead. Jan D.