From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.bugs Subject: bug#5892: [Aquamacs-bugs] Re: incorrect fontification of non-ascii chars on Mac OS X 10.4 Date: Wed, 29 Jun 2005 17:59:01 +0100 Message-ID: <7A52A2B4-ADD0-44A0-B8C9-A1F8F4CCDE75__3323.87615130774$1270746592$gmane$org@gmail.com> References: <20050630.013633.55126241.mituharu@math.s.chiba-u.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1270746592 28720 80.91.229.12 (8 Apr 2010 17:09:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 8 Apr 2010 17:09:52 +0000 (UTC) Cc: 5892@debbugs.gnu.org, aquamacs-bugs@lists.sourceforge.net, whenney@gmail.com To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 08 19:09:50 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NzvEi-0008DV-IT for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Apr 2010 19:09:49 +0200 Original-Received: from localhost ([127.0.0.1]:35097 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzvEh-0007S8-U5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Apr 2010 13:09:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nzv79-0002eF-AZ for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 13:01:59 -0400 Original-Received: from [140.186.70.92] (port=59233 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nzv6s-0001ij-8K for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 13:01:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nzv4y-00042m-TJ for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 12:59:49 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38631) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nzv4y-00042c-QD for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2010 12:59:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NzukA-0005NT-M6; Thu, 08 Apr 2010 12:38:14 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Reitter Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Apr 2010 16:38:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 5892 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-Cc: emacs-pretest-bug@gnu.org, whenney@gmail.com, aquamacs-bugs@lists.sourceforge.net Original-Received: via spool by submit@debbugs.gnu.org id=B.127074467020392 (code B ref -1); Thu, 08 Apr 2010 16:38:14 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Apr 2010 16:37:50 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nzujf-0005In-QT for submit@debbugs.gnu.org; Thu, 08 Apr 2010 12:37:44 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nzuj2-0005Bu-Hw for submit@debbugs.gnu.org; Thu, 08 Apr 2010 12:37:08 -0400 Original-Received: from mail.gnu.org ([199.232.76.166]:57105 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nzuix-00049P-U9 for emacs-pretest-bug@gnu.org; Thu, 08 Apr 2010 12:37:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46977) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nzuix-00024a-35 for emacs-pretest-bug@gnu.org; Thu, 08 Apr 2010 12:36:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzubK-0007VU-Sc for emacs-pretest-bug@gnu.org; Thu, 08 Apr 2010 12:29:12 -0400 Original-Received: from braeburn.psy.cmu.edu ([128.2.248.151]:55341 helo=lists.aquamacs.org) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzubK-0007VL-I0 for emacs-pretest-bug@gnu.org; Thu, 08 Apr 2010 12:29:06 -0400 Original-Received: by lists.aquamacs.org (Postfix, from userid 502) id 5F9602806B84; Thu, 8 Apr 2010 16:29:06 +0000 (UTC) Original-Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1Dnfu4-0000eq-J5 for aquamacs-bugs@lists.sourceforge.net; Wed, 29 Jun 2005 09:59:12 -0700 Original-Received: from zproxy.gmail.com ([64.233.162.192]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1Dnfu2-0008B7-Tu for aquamacs-bugs@lists.sourceforge.net; Wed, 29 Jun 2005 09:59:12 -0700 Original-Received: by zproxy.gmail.com with SMTP id s18so154813nze for ; Wed, 29 Jun 2005 09:59:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=gli/bP0RyKfGQ77wqkycM1VoH601aNyvP9wVz2Z8A6O0dX9YT2O2+FTiuPpsahgXSOFxupiANC7Qpmydihw18Dm4GIMylu7mVPR0NxBdJ/fcQ+QoKBstmAwwk0wvSJyTp3138Hq8dJRUI9NWmWNRtlUDrJQaJpJeJHyWp3kFs/o= Original-Received: by 10.36.222.60 with SMTP id u60mr468678nzg; Wed, 29 Jun 2005 09:59:04 -0700 (PDT) Original-Received: from ?129.215.174.81? ([129.215.174.81]) by mx.gmail.com with ESMTP id 34sm8655485nza.2005.06.29.09.59.03; Wed, 29 Jun 2005 09:59:04 -0700 (PDT) In-Reply-To: <20050630.013633.55126241.mituharu@math.s.chiba-u.ac.jp> X-Mailer: Apple Mail (2.730) X-BeenThere: aquamacs-bugs@aquamacs.org X-Mailman-Version: 2.0.9-sf.net Precedence: bulk X-detected-operating-system: by eggs.gnu.org: FreeBSD 6.x (1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org Resent-Date: Thu, 08 Apr 2010 12:38:14 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36087 Archived-At: On 29 Jun 2005, at 17:36, YAMAMOTO Mitsuharu wrote: >> Well, create-fontset-from-mac-roman seems to create fontsets with >> fonts only drawn from the 'roman' type. >> > > Could you give me a concrete example? I didn't try it out (don't use cyrillic fonts etc.), but I looked at the name of the function and at the code, which uses (create-fontset-from-ascii-font font resolved-font fontset-name) The documentation says that this function 'Create[s] a fontset from an ASCII font font", which I take to be roman only. But let me know if I'm mistaken there. I don't know much about the whole font business... >> So I second Will in saying that it'd be good if create-fontset-from- >> fontset-spec could be fixed. >> > > As for the "tons of wrong glyphs" problem, I think that's due to a > misuse of the function, rather than a bug. The function > create-fontset-from-fontset-spec is suitable only for the case that > all the characters in a single charset are displayed with a single > font. But that's not the case for fonts in Mac encodings. Uuh, oh - the documentation of create-fontset-from-fontset-spec doesn't say so. Maybe it's a documentation bug then :) So what should we use to define a fontset that contains roman and non- roman fonts for a variety of charsets? That's quite relevant, because at least a few standard fontsets need to support everything. If you look at carbon-font.el by T. Hiromatsu, you'll see a lot of (undocumented or documented-in-Japanese) code that deals with fonts, using create-fontset-from-fontset-spec. I assume you have a better idea about what's going on there...