From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: thai font problem Date: 01 Sep 2003 17:09:41 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20030827.110253.39152163.wl@gnu.org> <200308291240.VAA29414@etlken.m17n.org> <20030831.091915.59468909.wl@gnu.org> <200309011119.UAA06650@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1062560908 11905 80.91.224.253 (3 Sep 2003 03:48:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Sep 2003 03:48:28 +0000 (UTC) Cc: wl@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Sep 03 05:48:26 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 19uOd8-0000Gg-00 for ; Wed, 03 Sep 2003 05:48:26 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19uOma-0006LB-00 for ; Wed, 03 Sep 2003 05:58:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19uOco-0007G0-5U for emacs-devel@quimby.gnus.org; Tue, 02 Sep 2003 23:48:06 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19tvyE-0004tv-4y for emacs-devel@gnu.org; Mon, 01 Sep 2003 17:12:18 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19tvwO-0003x7-Rx for emacs-devel@gnu.org; Mon, 01 Sep 2003 17:10:26 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.22) id 19tvvo-0003U8-KE; Mon, 01 Sep 2003 17:09:48 -0400 Original-Received: from noir.iro.umontreal.ca (noir.iro.umontreal.ca [132.204.26.236]) by mercure.iro.umontreal.ca (8.12.9/8.12.9) with ESMTP id h81L9gJF030299; Mon, 1 Sep 2003 17:09:42 -0400 Original-Received: (from monnier@localhost) by noir.iro.umontreal.ca (8.12.9/8.12.9) id h81L9fqc028897; Mon, 1 Sep 2003 17:09:41 -0400 Original-To: Kenichi Handa In-Reply-To: <200309011119.UAA06650@etlken.m17n.org> Original-Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-MailScanner-DIRO: Found to be clean 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:16221 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16221 > But, I think it's basically not the right thing to set "*" > family in the default fontset. To solve the Thai font > problem, we need fine-tuning mechanism in font selection. > For instance, if the size of a selected font is very > different from the requested size, try to select another > font by ignoring a family. But, how to decide that the font > size is "very different"? Don't we have to suppress such a > mechanism for ASCII font? I'm not sure. I had a patch that introduced a "max-fuzz" variable such that any font whose size is too far apart (by default the acceptable fuzz was 12.5%) from the target size is rejected. The original reason for introducing it was to give preference to unscaled bitmap fonts while still reverting to a scaled font (potentially auto-scaled from a bitmap) if the requested size was not close to any of the bitmap fonts available. I can't find the patch any more, tho. Hopefully, anti-aliasing will make bitmap fonts obsolete soon enough. Stefan