From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Michael Mauger Newsgroups: gmane.emacs.devel Subject: Re: char-displayable-p issue Date: Tue, 28 Oct 2003 07:12:01 -0800 (PST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20031028151201.53330.qmail@web60304.mail.yahoo.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1067354494 8729 80.91.224.253 (28 Oct 2003 15:21:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Oct 2003 15:21:34 +0000 (UTC) Cc: emacs-devel@gnu.org, Kenichi Handa Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Oct 28 16:21:31 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AEVf1-0000oD-00 for ; Tue, 28 Oct 2003 16:21:31 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AEVf1-0005MQ-00 for ; Tue, 28 Oct 2003 16:21:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AEVcn-00010t-SR for emacs-devel@quimby.gnus.org; Tue, 28 Oct 2003 10:19:13 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AEVcR-0000zs-7j for emacs-devel@gnu.org; Tue, 28 Oct 2003 10:18:51 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AEVVs-0007Wz-02 for emacs-devel@gnu.org; Tue, 28 Oct 2003 10:12:35 -0500 Original-Received: from [216.109.118.115] (helo=web60304.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.24) id 1AEVVq-0007WV-Pm for emacs-devel@gnu.org; Tue, 28 Oct 2003 10:12:02 -0500 Original-Received: from [12.91.0.51] by web60304.mail.yahoo.com via HTTP; Tue, 28 Oct 2003 07:12:01 PST Original-To: Jason Rumney In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17502 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17502 You can ignore the first patch -- the second one supercedes it. I should have clearer about that. No rush -- I realize this is a significant change to a very complex and critical piece of code. Below is a correct version of the ChangeLog entry: 2003-10-27 Michael Mauger * w32fns.c (w32_normalize_xlfd): Added function. Expands a partial XLFD specification into a fully qualified specification by filling in wildcards. Translates Windows-specific font format to a fully qualified XLFD specification. (w32_get_xlfd_field): Added function. Returns a portion of a XLFD specification. (w32_to_x_font): Use "*" rather than "unknown" for unknown XLFD FOUNDRY. Use "*" when FAMILY is empty. (x_to_w32_font): Rewritten. Use `w32_normalize_xlfd' and `w32_get_xlfd_field' to parse XLFD string properly. (xlfd_strip_height): Rewrote to simplify and correct. (w32_font_match): Normalize XLFD pattern before stripping height or converting to a regex. Because the pattern is fully qualified, wildcards now match "[^-]*" rather than ".*" as it did before. (w32_list_fonts): If face name has no wildcards then use it in Windows FontEnum to reduce the number of fonts enumerated. --- Jason Rumney wrote: > Michael Mauger writes: > > > I've spent some time looking into the font enum code. There were > > several interrelated bugs involved in the matching of font > > specifications. I've attached a patch that addresses these > > problems. Here's the ChangeLog for these changes. > > Thank you. I'll take a look at both sets of changes over the next few > days. > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com