From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Purcell Newsgroups: gmane.emacs.bugs Subject: bug#11450: 24.1.50; NS regression: fallback font used even when glyph available in primary font Date: Sun, 13 May 2012 11:25:16 +0100 Message-ID: References: <9AC1B178-DAD0-4757-B477-65BAB21A6991@sanityinc.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1336904816 17644 80.91.229.3 (13 May 2012 10:26:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 May 2012 10:26:56 +0000 (UTC) Cc: 11450@debbugs.gnu.org To: Alp Aker Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 13 12:26:55 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1STW0s-0003tF-BM for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 May 2012 12:26:54 +0200 Original-Received: from localhost ([::1]:54271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STW0r-0000Xg-Cc for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 May 2012 06:26:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STW0n-0000XD-Rx for bug-gnu-emacs@gnu.org; Sun, 13 May 2012 06:26:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1STW0l-0007Wk-55 for bug-gnu-emacs@gnu.org; Sun, 13 May 2012 06:26:49 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STW0l-0007Wg-0x for bug-gnu-emacs@gnu.org; Sun, 13 May 2012 06:26:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1STW0z-0007Co-R9 for bug-gnu-emacs@gnu.org; Sun, 13 May 2012 06:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Steve Purcell Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 May 2012 10:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11450 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11450-submit@debbugs.gnu.org id=B11450.133690476427630 (code B ref 11450); Sun, 13 May 2012 10:27:01 +0000 Original-Received: (at 11450) by debbugs.gnu.org; 13 May 2012 10:26:04 +0000 Original-Received: from localhost ([127.0.0.1]:51122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1STW03-0007Ba-4j for submit@debbugs.gnu.org; Sun, 13 May 2012 06:26:04 -0400 Original-Received: from h1189701.stratoserver.net ([85.214.32.38]:53761) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1STVzg-0007Ak-Ek for 11450@debbugs.gnu.org; Sun, 13 May 2012 06:26:01 -0400 Original-Received: from mandala.home.gateway (host81-156-70-5.range81-156.btcentralplus.com [81.156.70.5]) by h1189701.stratoserver.net (Postfix) with ESMTPSA id 0FD7833CC4E; Sun, 13 May 2012 12:25:17 +0200 (CEST) In-Reply-To: X-Mailer: Apple Mail (2.1278) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59982 Archived-At: On 11 May 2012, at 21:43, Alp Aker wrote: > I can't reproduce the problem building that rev, either, so I'm not > sure I can be of further help. That said, try the following: >=20 > (1) If you haven't already, do "make extraclean" and rebuild from a = clean slate. > (2) If that doesn't work, go to src/nsfont.m:47 and change it to > define NSFONT_TRACE as 1. Then rebuild, follow your original recipe, > and report back with the results of stderr. (This probably won't tell > us more than we already know, but it's worth a shot.) >=20 > PS: Please keep the bug tracker cc'ed on follow ups. Thanks for the extraclean tip, though that ultimately didn't make any = difference. The font trace info is below, from startup with the default "Monaco", = through setting the default face to "Menlo", and then on to displaying = the EMPTY SET char: nsfont: list for fontspec: # 2012-05-13 11:21:47.852 Emacs[94679:e03] Request covering families for = script: 'latin' (0 . 127) (160 . 591) (688 . 879) (7616 . 7935) (11360 . 11391) (42752 . 43007) 2012-05-13 11:21:49.399 Emacs[94679:e03] returning 1 families 2012-05-13 11:21:49.400 Emacs[94679:e03] Got desc NSCTFontDescriptor = <0x102e1ae90> =3D { NSFontFamilyAttribute =3D Monaco; } and found 1 matching fonts from it:=20 Returning 0 entities. nsfont: list for fontspec: # 2012-05-13 11:21:49.401 Emacs[94679:e03] Request covering families for = script: '' 2012-05-13 11:21:49.402 Emacs[94679:e03] returning 691 families 2012-05-13 11:21:49.403 Emacs[94679:e03] Got desc NSCTFontDescriptor = <0x102e1b510> =3D { NSFontFamilyAttribute =3D Monaco; } and found 1 matching fonts from it:=20 created font_entity: # created font_entity: # Returning 2 entities. nsfont: open size 0 of fontentity: # 2012-05-13 11:21:49.436 Emacs[94679:e03] "Monaco 12.00 pt. P [] = (0x102e1cd30) fobj=3D0x102b96da0, spc=3D7.20" nsfont: list for fontspec: # 2012-05-13 11:21:49.615 Emacs[94679:e03] Request covering families for = script: '' 2012-05-13 11:21:49.615 Emacs[94679:e03] returning 691 families 2012-05-13 11:21:49.616 Emacs[94679:e03] Got desc NSCTFontDescriptor = <0x102e2cd40> =3D { NSFontFamilyAttribute =3D Monaco; } and found 1 matching fonts from it:=20 created font_entity: # created font_entity: # Returning 2 entities. nsfont: open size 12 of fontentity: # 2012-05-13 11:21:49.617 Emacs[94679:e03] "Monaco 12.00 pt. P [] = (0x102e1cd30) fobj=3D0x102b96da0, spc=3D7.20" *** nsfont_open CACHE HIT! nsfont: list for fontspec: # 2012-05-13 11:21:49.618 Emacs[94679:e03] Request covering families for = script: '' 2012-05-13 11:21:49.619 Emacs[94679:e03] returning 691 families 2012-05-13 11:21:49.620 Emacs[94679:e03] Got desc NSCTFontDescriptor = <0x102e2e4e0> =3D { NSFontFamilyAttribute =3D Monaco; } and found 1 matching fonts from it:=20 created font_entity: # created font_entity: # Returning 2 entities. nsfont: open size 12 of fontentity: # 2012-05-13 11:21:49.621 Emacs[94679:e03] "Monaco 12.00 pt. P [] = (0x102e1cd30) fobj=3D0x102b96da0, spc=3D7.20" nsfont: open size 12 of fontentity: # 2012-05-13 11:21:49.785 Emacs[94679:e03] "Monaco 12.00 pt. P [] = (0x102e1cd30) fobj=3D0x102b96da0, spc=3D7.20" *** nsfont_open CACHE HIT! nsfont: open size 12 of fontentity: # 2012-05-13 11:21:50.055 Emacs[94679:e03] "Monaco 12.00 pt. P [] = (0x102e1cd30) fobj=3D0x102b96da0, spc=3D7.20" *** nsfont_open CACHE HIT! 0x102e1d4d0 Finding glyphs for glyphs in block 0 0x102e1d4d0 Computing metrics for glyphs in block 0 nsfont: open size 12 of fontentity: # 2012-05-13 11:21:50.070 Emacs[94679:e03] "Monaco 12.00 pt. P [] = (0x102e1cd30) fobj=3D0x102b96da0, spc=3D7.20" *** nsfont_open CACHE HIT! nsfont: list for fontspec: # 2012-05-13 11:21:55.722 Emacs[94679:e03] Request covering families for = script: 'latin' 2012-05-13 11:21:55.723 Emacs[94679:e03] returning 1 families 2012-05-13 11:21:55.724 Emacs[94679:e03] Got desc NSCTFontDescriptor = <0x102e71f30> =3D { NSFontFamilyAttribute =3D Menlo; } and found 4 matching fonts from it:=20 Returning 0 entities. nsfont: list for fontspec: # 2012-05-13 11:21:55.726 Emacs[94679:e03] Request covering families for = script: '' 2012-05-13 11:21:55.726 Emacs[94679:e03] returning 691 families 2012-05-13 11:21:55.727 Emacs[94679:e03] Got desc NSCTFontDescriptor = <0x102e72dd0> =3D { NSFontFamilyAttribute =3D Menlo; } and found 4 matching fonts from it:=20 created font_entity: # created font_entity: # created font_entity: # created font_entity: # Returning 4 entities. nsfont: open size 12 of fontentity: # 2012-05-13 11:21:55.763 Emacs[94679:e03] "Menlo-Regular 12.00 pt. P [] = (0x102e17460) fobj=3D0x102c622e0, spc=3D7.22" nsfont: list for fontspec: # 2012-05-13 11:21:55.788 Emacs[94679:e03] Request covering families for = script: '' 2012-05-13 11:21:55.788 Emacs[94679:e03] returning 691 families 2012-05-13 11:21:55.789 Emacs[94679:e03] Got desc NSCTFontDescriptor = <0x102e59c90> =3D { NSFontFamilyAttribute =3D Menlo; } and found 4 matching fonts from it:=20 created font_entity: # created font_entity: # created font_entity: # created font_entity: # Returning 4 entities. nsfont: open size 12 of fontentity: # 2012-05-13 11:21:55.790 Emacs[94679:e03] "Menlo-Regular 12.00 pt. P [] = (0x102e17460) fobj=3D0x102c622e0, spc=3D7.22" *** nsfont_open CACHE HIT! 0x102e737e0 Finding glyphs for glyphs in block 0 0x102e737e0 Computing metrics for glyphs in block 0 nsfont: open size 12 of fontentity: # 2012-05-13 11:21:55.807 Emacs[94679:e03] "Menlo-Regular 12.00 pt. P [] = (0x102e17460) fobj=3D0x102c622e0, spc=3D7.22" *** nsfont_open CACHE HIT! nsfont: open size 12 of fontentity: # 2012-05-13 11:21:55.812 Emacs[94679:e03] "Menlo-Bold 12.00 pt. P [] = (0x102dbd490) fobj=3D0x102dbc060, spc=3D7.22" 0x102e7bcb0 Finding glyphs for glyphs in block 0 0x102e7bcb0 Computing metrics for glyphs in block 0 nsfont: list for fontspec: # 2012-05-13 11:22:11.194 Emacs[94679:e03] Request covering families for = script: 'symbol' (8192 . 10239) (10496 . 11263) (11776 . 11903) (127232 . 127487) (127744 . 128591) (128640 . 128895) 2012-05-13 11:22:11.254 Emacs[94679:e03] returning 1 families 2012-05-13 11:22:11.254 Emacs[94679:e03] Got desc NSCTFontDescriptor = <0x102586c70> =3D { NSFontFamilyAttribute =3D Menlo; } and found 4 matching fonts from it:=20 Returning 0 entities. nsfont: list for fontspec: # 2012-05-13 11:22:11.255 Emacs[94679:e03] Request covering families for = script: 'symbol' 2012-05-13 11:22:11.255 Emacs[94679:e03] returning 1 families 2012-05-13 11:22:11.256 Emacs[94679:e03] Got desc NSCTFontDescriptor = <0x102deaf30> =3D { NSFontFamilyAttribute =3D Menlo; } and found 4 matching fonts from it:=20 Returning 0 entities. nsfont: list for fontspec: # 2012-05-13 11:22:11.256 Emacs[94679:e03] Request covering families for = script: 'symbol' 2012-05-13 11:22:11.257 Emacs[94679:e03] returning 1 families 2012-05-13 11:22:11.601 Emacs[94679:e03] Got desc NSCTFontDescriptor = <0x102ddcd80> =3D { } and found 1171 matching fonts from it:=20 created font_entity: # created font_entity: # created font_entity: # created font_entity: # Returning 4 entities. nsfont: open size 12 of fontentity: # 2012-05-13 11:22:11.668 Emacs[94679:e03] "STIXGeneral-Regular 12.00 pt. = P [] (0x102dbd490) fobj=3D0x102cc6c20, spc=3D3.00" 0x102e96420 Finding glyphs for glyphs in block 34 0x102e96420 Computing metrics for glyphs in block 4