From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: Font selection weirdness Date: Thu, 29 May 2008 17:19:35 +0200 Message-ID: References: <483AAED9.20309@gnu.org> <483E9525.1040001@gnu.org> 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 1212075074 29128 80.91.229.12 (29 May 2008 15:31:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 May 2008 15:31:14 +0000 (UTC) Cc: Emacs Devel To: "Jason Rumney" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 29 17:31:45 2008 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 1K1k6P-0005tz-9a for ged-emacs-devel@m.gmane.org; Thu, 29 May 2008 17:31:42 +0200 Original-Received: from localhost ([127.0.0.1]:59657 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1k5c-0004cp-I2 for ged-emacs-devel@m.gmane.org; Thu, 29 May 2008 11:30:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1jum-0000Jk-DH for emacs-devel@gnu.org; Thu, 29 May 2008 11:19:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1juk-0000Hx-2q for emacs-devel@gnu.org; Thu, 29 May 2008 11:19:39 -0400 Original-Received: from [199.232.76.173] (port=56764 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1juj-0000Hp-QQ for emacs-devel@gnu.org; Thu, 29 May 2008 11:19:37 -0400 Original-Received: from rn-out-0910.google.com ([64.233.170.184]:16258) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K1jui-0003A6-W9 for emacs-devel@gnu.org; Thu, 29 May 2008 11:19:37 -0400 Original-Received: by rn-out-0910.google.com with SMTP id j66so115241rne.7 for ; Thu, 29 May 2008 08:19:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=OaGzZMsXlKtflsOtHmHUweN1qmutWJnzkdTGJU/3qUU=; b=qSuGZy/L8wqJOfPy+dLS8CBPJ5B9pi9l3U++bxyU7+izZTxa2rkZkGRILlgzhQR6KCYa4YP0FUmpuocoboz1xJbaAfVsuZyW/AK5URA6TI1fa8cjq3dHphSfFr15rnht36HRjga2xusGFyP/wZcw8Rnt7HxFHkHao+Pwh5EN5dA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=d0XViLldYTtE7KA6dswRav165dhCfMmaiWXaHo9FoYF1/IlI7DCRiI2FO2lTb4fEsrvTSM4AIzHnh/m2OTc8vNqMf1DVmdOOTSQryM/LEXtgQkY2n/mTi4so+FAaUpwQKS35Wuz0g9VWj0KWYh2zHPKhiOC6BhTv6xN4xHx19rw= Original-Received: by 10.115.14.1 with SMTP id r1mr4451658wai.206.1212074375348; Thu, 29 May 2008 08:19:35 -0700 (PDT) Original-Received: by 10.114.167.17 with HTTP; Thu, 29 May 2008 08:19:35 -0700 (PDT) In-Reply-To: <483E9525.1040001@gnu.org> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:97978 Archived-At: On Thu, May 29, 2008 at 1:36 PM, Jason Rumney wrote: > On my system, Symbol shows up as an Opentype font, but it does not appear to > contain a Unicode mapping table - the character set selector in Windows > Character Map is greyed out, and selecting the "FOR ALL" character in > Character Map (0x22) and copying it and pasting elsewhere results in ASCII > 0x22 (") being pasted. Once removed the Adobe Type 1 Symbol font, the problem disappears. The 0x22 "FOR ALL" in the OpenType Symbol font does not preclude Emac selecting a suitable U+2200 in DejaVu Sans Mono. In fact, removing all Type 1 fonts fixes all three problems I was having with font selection: - The incorrect display of space for some missing characters (i.e., the problem in this thread) - The garbage in the startup screen in place of "Meta-x recover-session RET" - The screwing of *all* glyphs when visiting HELLO using the default startup font. > I think that is due to the same problems as above. Perhaps > GetCharacterPlacementW in w32font_encode_char did not return an error as > expected, and just silently copied the Unicode code point to the glyph code > point. Another posibility is that w32font_encode_char has not been called > for that character yet, which would be a bug somewhere in Emacs. I'll try to debug it over the weekend; perhaps I can find some clue. Juanma