From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian Robert Newsgroups: gmane.emacs.devel Subject: Re: fail on osx between 2/4/2009 and 2/5/2009 Date: Thu, 19 Feb 2009 12:30:38 +0200 Message-ID: <9FCA1DF6-50B7-45BF-8082-A8C365F4ADF7@gmail.com> References: <861vubqc79.fsf@blue.stonehenge.com> <10DD5733-4089-4A60-B090-4CB5E32A0E19@42tools.com> <49917BE9.6020903@gnu.org> <15A24001-137F-469F-8B05-DB31D4E8995D@gmail.com> <86BB7F5A-18D1-4D15-A141-FC721BCC7CB4@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1235039691 3147 80.91.229.12 (19 Feb 2009 10:34:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Feb 2009 10:34:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 19 11:36:07 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 1La6Fj-0001Hy-JB for ged-emacs-devel@m.gmane.org; Thu, 19 Feb 2009 11:35:48 +0100 Original-Received: from localhost ([127.0.0.1]:49834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1La6EJ-0004wM-E7 for ged-emacs-devel@m.gmane.org; Thu, 19 Feb 2009 05:34:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1La6AU-0004KA-UA for emacs-devel@gnu.org; Thu, 19 Feb 2009 05:30:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1La6AT-0004JN-Eq for emacs-devel@gnu.org; Thu, 19 Feb 2009 05:30:09 -0500 Original-Received: from [199.232.76.173] (port=44977 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1La6AT-0004JH-1Q for emacs-devel@gnu.org; Thu, 19 Feb 2009 05:30:09 -0500 Original-Received: from mail-fx0-f174.google.com ([209.85.220.174]:41226) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1La6AS-0004AK-Gw for emacs-devel@gnu.org; Thu, 19 Feb 2009 05:30:08 -0500 Original-Received: by fxm22 with SMTP id 22so37685fxm.18 for ; Thu, 19 Feb 2009 02:30:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=4BL0moDvXtD6bUOL+mEY9eR0iloPHyxmXV5/2AxBnfo=; b=pMJefXqokxYVCeqHzjrEErPl8VLz3WQz8m4gDTso+U1UNfN9x6yGrY0mpEx2ZBSH28 ySY875qr8G2WAvgFz19fqBQUEgJaoRKaig9vez/Eq72oS/Pj3g4/CoLuQ+CWbj5sVlUk A5Wtky3Tzs3768XUL5okKjQDwcyNvmpL7OleU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=EK2uAbnAqxSgeJsVCaITjuGc/9xFagpDm/FYO3W0mi34abgLF6IbkKXllK00aEpcqQ pHUFAmOjyjzTkxA7PuCFr7ODPZPyK92vXng4wkUp/23RMhIoa7ygsCHicIXu92PEctys YDu9DYK1cN3XwdE8Qi/rjGLAtveomeimydgK0= Original-Received: by 10.103.160.9 with SMTP id m9mr288306muo.53.1235039407313; Thu, 19 Feb 2009 02:30:07 -0800 (PST) Original-Received: from ?10.20.48.125? (gw1.panoulu.net [212.50.147.101]) by mx.google.com with ESMTPS id e9sm913886muf.8.2009.02.19.02.30.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 19 Feb 2009 02:30:05 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.753.1) X-detected-operating-system: by monty-python.gnu.org: GNU/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:109213 Archived-At: On Feb 18, 2009, at 4:48 AM, Kenichi Handa wrote: > In article , Kenichi Handa > writes: >>> The full list of properties that can appear bundled under the >>> FONT_EXTRA property that are important for drivers to take into >>> account in match() and list() should be specified somewhere in >>> font.h. > > I've just added comments in font.h, and augmented the > docstring for font-spec (in font.c). > > Please tell me if there is any unclear part. Looks clear to me. Should weight/slant/width also be mentioned under list()? Here is a patch which would add that. *** font.h.~1.28.~ Wed Feb 18 11:51:23 2009 --- font.h Wed Feb 18 16:54:13 2009 *************** *** 68,76 **** enum font_property_index { /* FONT-TYPE is a symbol indicating a font backend; currently `x', ! `xft', `ftx' are available on X and gdi on Windows. ! For Windows, `bdf' and `uniscribe' backends are in progress. ! For Mac OS X, we need `atm'. */ FONT_TYPE_INDEX, /* FONT-FOUNDRY is a foundry name (symbol). */ --- 68,75 ---- enum font_property_index { /* FONT-TYPE is a symbol indicating a font backend; currently `x', ! `xft', `ftx' are available on X, gdi on Windows, and ns under ! Cocoa / GNUstep. */ FONT_TYPE_INDEX, /* FONT-FOUNDRY is a foundry name (symbol). */ *************** *** 153,160 **** /* In a font-spec, the value is an alist of extra information of a font such as name, OpenType features, and language coverage. In addition, in a font-entity, the value may contain a pair ! (font-entity . INFO) where INFO is an extra infomation to ! identify a font (font-driver dependent). */ FONT_EXTRA_INDEX, /* alist alist */ /* This value is the length of font-spec vector. */ --- 152,159 ---- /* In a font-spec, the value is an alist of extra information of a font such as name, OpenType features, and language coverage. In addition, in a font-entity, the value may contain a pair ! (font-entity . INFO) where INFO is extra information to identify ! a font (font-driver dependent). */ FONT_EXTRA_INDEX, /* alist alist */ /* This value is the length of font-spec vector. */ *************** *** 172,178 **** FONT_NAME_INDEX = FONT_ENTITY_MAX, /* Full name of the font (string). It is the name extracted from ! the opend font, and may be different from the above. It may be nil if the opened font doesn't give a name. */ FONT_FULLNAME_INDEX, --- 171,177 ---- FONT_NAME_INDEX = FONT_ENTITY_MAX, /* Full name of the font (string). It is the name extracted from ! the opened font, and may be different from the above. It may be nil if the opened font doesn't give a name. */ FONT_FULLNAME_INDEX, *************** *** 499,505 **** /* Symbol indicating the type of the font-driver. */ Lisp_Object type; ! /* 1 iff the font's foundary, family, and adstyle names are case sensitve. */ int case_sensitive; --- 498,504 ---- /* Symbol indicating the type of the font-driver. */ Lisp_Object type; ! /* 1 iff the font's foundry, family, and adstyle names are case sensitve. */ int case_sensitive; *************** *** 509,518 **** /* List fonts exactly matching with FONT_SPEC on FRAME. The value is a list of font-entities. The font properties to be considered ! are: :foundry, :family, :adstyle, :registry, :script, :lang, and ! :otf. See the function `font-spec' for their meanings. Note ! that the last three properties are stored in FONT_EXTRA_INDEX ! slot of FONT_SPEC. The returned value is a list of font-entities. Each font-entity has :type property whose value is the same as the above `type'. --- 508,517 ---- /* List fonts exactly matching with FONT_SPEC on FRAME. The value is a list of font-entities. The font properties to be considered ! are: :family, :weight, :slant, :width, :foundry, :adstyle, ! :registry, :script, :lang, and :otf. See the function ! `font-spec' for their meanings. Note that the last three ! properties are stored in FONT_EXTRA_INDEX slot of FONT_SPEC. The returned value is a list of font-entities. Each font-entity has :type property whose value is the same as the above `type'.