From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Taylor Venable Newsgroups: gmane.emacs.devel Subject: Re: Font Problem with 23.0.92.1 - wrong font used Date: Mon, 13 Apr 2009 23:14:19 -0400 Message-ID: <20090414031419.GF6280@metasyntax.net> References: <20090407022803.GB5160@metasyntax.net> <20090407084801.GC5160@metasyntax.net> <20090408050247.GD5160@metasyntax.net> <20090410213806.GH5160@metasyntax.net> <20090413173850.GA30710@metasyntax.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1239679003 2257 80.91.229.12 (14 Apr 2009 03:16:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Apr 2009 03:16:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 14 05:18:02 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LtZ9Z-0005nh-Sd for ged-emacs-devel@m.gmane.org; Tue, 14 Apr 2009 05:17:42 +0200 Original-Received: from localhost ([127.0.0.1]:52987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtZ8A-0000Rc-LO for ged-emacs-devel@m.gmane.org; Mon, 13 Apr 2009 23:16:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LtZ85-0000Q7-Ta for emacs-devel@gnu.org; Mon, 13 Apr 2009 23:16:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LtZ83-0000PU-Ak for emacs-devel@gnu.org; Mon, 13 Apr 2009 23:16:08 -0400 Original-Received: from [199.232.76.173] (port=58088 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtZ83-0000PR-7s for emacs-devel@gnu.org; Mon, 13 Apr 2009 23:16:07 -0400 Original-Received: from mout.perfora.net ([74.208.4.195]:62478) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LtZ82-0001Xc-Vd for emacs-devel@gnu.org; Mon, 13 Apr 2009 23:16:07 -0400 Original-Received: from metasyntax.net (pool-71-127-85-87.aubnin.fios.verizon.net [71.127.85.87]) by mrelay.perfora.net (node=mrus0) with ESMTP (Nemesis) id 0MKp8S-1LtZ7v3ni6-000fxp; Mon, 13 Apr 2009 23:16:02 -0400 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Provags-ID: V01U2FsdGVkX199JxF4pGXr1tzCQjX0I/kOyo/V/ckmP15wWee bRpKxbsH2TP+UXLvt8p9iAuADZyRXFHi1sha9w6c6GfKGfh7Pj 4oWo32QyAdxL6+1y/7V4Q== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:110256 Archived-At: On Tue, Apr 14, 2009 at 10:07:04AM +0900, Kenichi Handa wrote: > In article <20090413173850.GA30710@metasyntax.net>, Taylor Venable writes: > > > It looks a lot better now. Without the ja font, from a preliminary > > look everything seems to be good. (See attached screenshot named > > emacs-no-ja-font.png) However, with the ja font in the font path > > things are still a little off; bold faces are the wrong width (80 > > rather than the requested 70) and some other faces (like tooltip and > > inactive mode line) use the "semicondensed" variant rather than the > > "normal" variant. The default face is now correct though. See > > attached screenshot named emacs-with-ja-font.png in the highlighted > > areas for the things that are still not quite right. > > Ummm, weird. Please define this function: > > (defun font-file-at () > (interactive) > (message "%s" (aref (query-font (font-at (point))) 1))) > > and run it while putting cursor on "abc..." of `default', > `mode-line-inactive', and `tooltip' lines in *Faces* buffer > that is shown by M-x list-faces-display RET. First, when the Japanese font is present: default: /usr/X11R6/lib/X11/fonts/misc/7x13-ISO8859-1.pcf.gz mode-line-inactive: [the same] tooltip: [the same] Strangely enough, the font shown as the example for 'default' is not the font used in the buffer display; again it appears to be the semi- condensed variant, whereas the font used in the buffer display appears to be the correct normal variant. If I do M-x customize-face default I notice that the value has been set outside customize, and telling it to set for the current session redisplays the buffer using the semi- condensed face. When I run this function on 'bold' I get nil. Finding a face that looks like what I want and see in the buffer display, the function reports the value as /usr/X11R6/lib/X11/fonts/misc/7x13.pcf.gz - but the font for the 'bold-italic' face which also looks correct (there is no italic slant variant for the -misc-fixed font I'm using) is /usr/X11R6/lib/X11/fonts/misc/8x13B-ISO8859-1.pcf.gz ======================================== Without the Japanese font in the font path, I get these: default: /usr/X11R6/lib/X11/fonts/misc/7x13.pcf.gz bold: /usr/X11R6/lib/X11/fonts/misc/8x13B-ISO8859-1.pcf.gz It seems as if these are the fonts that I want for normal and bold, respectively. It seems as if the default and bold faces are being chosen incorrectly while the Japanese font is present. -- Taylor Christopher Venable http://real.metasyntax.net:2357/