From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: reducing equality tests in displaying text Date: Thu, 29 Jan 2009 10:38:00 +0800 Message-ID: <49811688.4030309@gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233196749 28245 80.91.229.12 (29 Jan 2009 02:39:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Jan 2009 02:39:09 +0000 (UTC) Cc: YAMAMOTO Mitsuharu , emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 29 03:40:21 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 1LSMpI-00049I-5N for ged-emacs-devel@m.gmane.org; Thu, 29 Jan 2009 03:40:21 +0100 Original-Received: from localhost ([127.0.0.1]:47661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSMnz-0001uW-QB for ged-emacs-devel@m.gmane.org; Wed, 28 Jan 2009 21:38:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LSMnv-0001u7-J8 for emacs-devel@gnu.org; Wed, 28 Jan 2009 21:38:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LSMnt-0001tm-Pt for emacs-devel@gnu.org; Wed, 28 Jan 2009 21:38:55 -0500 Original-Received: from [199.232.76.173] (port=59148 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSMnt-0001tg-IB for emacs-devel@gnu.org; Wed, 28 Jan 2009 21:38:53 -0500 Original-Received: from mail-qy0-f17.google.com ([209.85.221.17]:59507) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LSMns-00049f-Sr for emacs-devel@gnu.org; Wed, 28 Jan 2009 21:38:53 -0500 Original-Received: by qyk10 with SMTP id 10so9215532qyk.18 for ; Wed, 28 Jan 2009 18:38:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=sSM6QZY/yutXJWE0+BkFh1JfUEk0GHXZoj504lNw85c=; b=xofJ+InlRPbEXbP8GmuzSXR97N6XfnmXMtAOURO08yCmKLp6GKbWK1l/18ma10am2J KFMPB8Lv0xVwKrm7h5rkuALiaNYblJPYMFClas4zv8WakmKdVP2Va+FoabReD1AKyCMn +KQZHR6a3GuOPHiKqa0W/YDhKB4Q0iTR9gltk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=DS5HiF6LoiAbrJayHMFVBR/aWuZF9WSnW10YDo2mUncM3aJpo66Lz/XZ9Nq6hx7Wok JryY8mL5WjgGADhoPjXi5gvcLc5pN7N9ou4L4Hg2EvcNb/lP8yTufNKGpUlAHi+He3BR QXyN8ioidZKjyrei6BvCLRvFYyySfQt67WaUg= Original-Received: by 10.214.116.15 with SMTP id o15mr3276787qac.246.1233196716315; Wed, 28 Jan 2009 18:38:36 -0800 (PST) Original-Received: from ?192.168.249.26? ([118.101.26.137]) by mx.google.com with ESMTPS id 5sm10961996qwh.36.2009.01.28.18.38.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 28 Jan 2009 18:38:35 -0800 (PST) User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) In-Reply-To: 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:108349 Archived-At: Kenichi Handa wrote: >> Another (maybe cleaner) design would be to separate the current >> `has_char' function into that for font entities (font listing layer) >> and that for font objects (font driving layer). >> > > Ah, it seems that is a good idea. I put that in my todo list. > Isn't encode_char sufficient for font_object use? It will return FONT_INVALID_CODE if the font does not have that char.