From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: sand@blarg.net Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Re: ftfont ISO10646-1 font bug found (was Re: 23.0.60; Heavy display problems with new font backend) Date: Mon, 12 May 2008 23:04:00 -0700 Message-ID: <18473.12112.164949.406994@priss.frightenedpiglet.com> References: <87hcdy6srx.fsf@baldur.tsdh.de> <4809F8AC.8000802@gnu.org> <87skxgbtlm.fsf@localhorst.mine.nu> <18445.25224.874018.531866@priss.frightenedpiglet.com> <874p9uw77k.fsf@localhorst.mine.nu> <18460.40869.171854.738262@priss.frightenedpiglet.com> <18462.48548.616317.968827@priss.frightenedpiglet.com> <18465.13215.537191.430206@priss.frightenedpiglet.com> <18467.55964.443458.171763@priss.frightenedpiglet.com> <482407C5.5050702@gnu.org> <18468.22622.587359.454111@priss.frightenedpiglet.com> <18471.29714.676071.4377@priss.frightenedpiglet.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210664086 32170 80.91.229.12 (13 May 2008 07:34:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 May 2008 07:34:46 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 13 09:35:24 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 1Jvp2Q-0001ch-PD for ged-emacs-devel@m.gmane.org; Tue, 13 May 2008 09:35:07 +0200 Original-Received: from localhost ([127.0.0.1]:40149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jvp1h-0006f0-QA for ged-emacs-devel@m.gmane.org; Tue, 13 May 2008 03:34:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jvp1e-0006ei-0J for emacs-devel@gnu.org; Tue, 13 May 2008 03:34:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jvp1Z-0006e0-EG for emacs-devel@gnu.org; Tue, 13 May 2008 03:34:17 -0400 Original-Received: from [199.232.76.173] (port=42407 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jvp1Z-0006dx-7O for emacs-devel@gnu.org; Tue, 13 May 2008 03:34:13 -0400 Original-Received: from v-static-143-234.avvanta.com ([206.124.143.234]:53507 helo=priss.frightenedpiglet.com) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Jvp1Y-0000fY-HJ for emacs-devel@gnu.org; Tue, 13 May 2008 03:34:13 -0400 Original-Received: (qmail 12405 invoked by uid 1000); 13 May 2008 06:04:00 -0000 In-Reply-To: <18471.29714.676071.4377@priss.frightenedpiglet.com> X-Mailer: VM 8.0.9 under Emacs 23.0.60.1 (i486-pc-linux-gnu) X-URL: http://home.blarg.net/~sand 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:97068 Archived-At: sand@blarg.net writes: > The font-backend branch has the same problem, and essentially the same > patch works for it. It's not worth constructing a separate patch for > that branch. Plus, it looks like the patch itself, while useful, is > fixing secondary problems rather than root problems. I decided to try > attacking the issues at the Lisp level. > > Most of the problems seem to be caused by bad configuration in > "fontset.el". I have appended the Lisp code I came up with to get my > environment (almost) working. The exception is Korean syllabics, > which show up fine with the old backend (using Daewoo Mincho > KSC5601.1987) but don't show up at all with the new one. The fontset > declaration looks okay, so I'm going to keep digging. I got Hangul working after adding another declaration for ISO-10646 with a :script parameter: ;; 'hangul script has a :language restriction for iso10646-1, but also ;; needs :script restriction as alternative. (set-fontset-font "fontset-default" 'hangul (font-spec :registry "iso10646-1" :script 'hangul) nil 'prepend) It looks like any time we have an :otf or a :language declaration for a script, we need a :script declaration as a backup for safety. Derek -- Derek Upham sand@blarg.net