From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#15138: Font selection error on OSX Date: Tue, 27 Aug 2013 17:59:46 +0200 Message-ID: References: <2E6D0B96-1154-4081-BE8A-3267F1526D90@gmail.com> <1C1B009F-EA17-4FA7-BBB9-88CA3DA93A3A@gmail.com> <537169BD-13C7-42AF-8866-272460C13F3E@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1377619225 15559 80.91.229.3 (27 Aug 2013 16:00:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Aug 2013 16:00:25 +0000 (UTC) Cc: "15138@debbugs.gnu.org" <15138@debbugs.gnu.org> To: Michael Toomim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 27 18:00:26 2013 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 1VELgv-0000ak-PV for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Aug 2013 18:00:25 +0200 Original-Received: from localhost ([::1]:57246 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VELgv-0004Iz-E3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Aug 2013 12:00:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VELgh-00042P-W0 for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2013 12:00:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VELgb-0004iY-P6 for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2013 12:00:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VELgb-0004gd-MN for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2013 12:00:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VELga-0000hl-Gl for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2013 12:00:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Aug 2013 16:00:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15138 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 15138-submit@debbugs.gnu.org id=B15138.13776191942653 (code B ref 15138); Tue, 27 Aug 2013 16:00:04 +0000 Original-Received: (at 15138) by debbugs.gnu.org; 27 Aug 2013 15:59:54 +0000 Original-Received: from localhost ([127.0.0.1]:59343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VELgP-0000gh-FO for submit@debbugs.gnu.org; Tue, 27 Aug 2013 11:59:53 -0400 Original-Received: from mail01.bdtv.se ([176.10.222.34]:46474) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1VELgL-0000gV-Pf for 15138@debbugs.gnu.org; Tue, 27 Aug 2013 11:59:51 -0400 Original-Received: (qmail 14000 invoked by uid 89); 27 Aug 2013 15:59:47 -0000 Original-Received: from h-46-59-42-57.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.57) by mail01.bdtv.se with ESMTPA; 27 Aug 2013 15:59:47 -0000 Original-Received: from [172.20.199.240] (unknown [172.20.199.240]) by coolsville.localdomain (Postfix) with ESMTPSA id 8A7581A012C; Tue, 27 Aug 2013 15:59:47 +0000 (UTC) In-Reply-To: <537169BD-13C7-42AF-8866-272460C13F3E@swipnet.se> X-Mailer: iPhone Mail (10B350) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:77768 Archived-At: Hello.=20 This seems to be in the general font code. It does not even try to check if t= hat glyph is present in the current font (it is), but instead asks for a fon= t with script symbol. The logic seems strange to me.=20 Jan D.=20 26 aug 2013 kl. 18:14 skrev Jan Dj=C3=A4rv : > Hello. >=20 > 20 aug 2013 kl. 04:44 skrev Michael Toomim : >=20 >> A simple way to reproduce this bug is to press option-8 (inserts a bullet= on a mac) anywhere in a text buffer. You can see the line grow taller. >>=20 >> In default OSX settings, you'll need to (setq ns-alternate-modifier 'none= ) before you can use option-8. >=20 > It is strictly not a font rendering error, but a font selection error. Th= e bullet is from a different font than the surrounding text. >=20 > Jan D. >=20 >> On Aug 19, 2013, at 7:37 PM, Michael Toomim wrote: >>=20 >>> Some extended characters are rendered incorrectly in the new Cocoa 24.3 e= macs on OSX. They are rendered: >>> - too small >>> - too tall (forcing an increase in line-height of a pixel or two) >>>=20 >>> The result is that some lines are too tall, and monospace layouts (like A= SCII art) lose alignment. >>>=20 >>> Here is an example in three screenshots, where the "=E2=80=A2" bullet ch= aracter is rendered incorrectly. The first screenshot shows the bug on the c= urrent release. You can see that the center line takes up too much vertical s= pace, and not enough horizontal space. This is a monospace font (apple monac= o). >>>=20 >>> The second and third show the correct rendering. The second is an older e= macs build I have that rendered text with Carbon. The third is Apple's nativ= e TextEdit.app, for reference. >>>=20 >>>=20 >>> >>> >>> >=20