From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Toomim Newsgroups: gmane.emacs.bugs Subject: bug#15138: Font selection error on OSX Date: Tue, 27 Aug 2013 12:08:29 -0700 Message-ID: <787E6CC7-7963-44EA-A2EB-13C6D562F0EC@cs.washington.edu> 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 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1377630559 21931 80.91.229.3 (27 Aug 2013 19:09:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Aug 2013 19:09:19 +0000 (UTC) Cc: "15138@debbugs.gnu.org" <15138@debbugs.gnu.org> To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 27 21:09:19 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 1VEOdh-0001We-Sh for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Aug 2013 21:09:18 +0200 Original-Received: from localhost ([::1]:58040 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEOdh-0007hK-Ds for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Aug 2013 15:09:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEOdY-0007ZV-9a for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2013 15:09:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEOdS-0004IY-Sz for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2013 15:09:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEOdS-0004IO-N5 for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2013 15:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VEOdS-0006bc-3G for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2013 15:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Toomim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Aug 2013 19:09:01 +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.137763051625357 (code B ref 15138); Tue, 27 Aug 2013 19:09:01 +0000 Original-Received: (at 15138) by debbugs.gnu.org; 27 Aug 2013 19:08:36 +0000 Original-Received: from localhost ([127.0.0.1]:59721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VEOd1-0006at-Mr for submit@debbugs.gnu.org; Tue, 27 Aug 2013 15:08:36 -0400 Original-Received: from mail-pa0-f43.google.com ([209.85.220.43]:40906) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VEOcy-0006ai-M6 for 15138@debbugs.gnu.org; Tue, 27 Aug 2013 15:08:34 -0400 Original-Received: by mail-pa0-f43.google.com with SMTP id hz10so5200241pad.2 for <15138@debbugs.gnu.org>; Tue, 27 Aug 2013 12:08:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.washington.edu; s=goo201206; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=HbAYerw920zOfkmSYrpt098y/vLFa2Ksc39jX1/p5Zw=; b=Fmc5+UsNslibff7b5gd0hfFFA3B3VwakszCnfv7oyCPIaOkCIKAn0JmrfuIM6reFBc ydLI3XrXs+DRTp8DU4b4ywuxNa4DFNWlw7SM3qznBHEIdOET/AGj+ICFXIly9wIXgobj n1JiVl5+EWKQTYhhr86s3Uyr4Tk4Ivbm1mWJ0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=HbAYerw920zOfkmSYrpt098y/vLFa2Ksc39jX1/p5Zw=; b=Dcd4xWOtJsmyfPL7ic4QXFn4e+N+TNxea6zt1RSFEm46sQbHg1K3uE0cYo6Tekxpjv uJZYyTt+SS/UUS+Nagp/3toRytBoylyIeBh/igzQ4KA4WfVXstfsuu6RRXHTEH3gp+H5 hwy+6DCcnX+6FDvp5Es3HrG2/wL/C7E+u0u27/dbv+ujy2XWXbWgXO9BdqovjWmuLdGy kEkLgr/z9P6crRWrbNPmT9p6mcwi/Z1VHIiwNjnKQ9nOzDkmQ5Y6iG5UUT/TaDiKJQ6l 41Ev4lhuQBOR1zH64cFDNQbYFf95I66uWOAfxJywAH9UKeqbPWV2A14jYkpWJvcTRxXC xjgA== X-Gm-Message-State: ALoCoQmoafU3Eh1p0EI2FJCpBjP3eAHPMHF4GpBgpvhk4CPEXWi1gbtWtucz/p2xLrET29i45kg0 X-Received: by 10.68.164.33 with SMTP id yn1mr23053396pbb.102.1377630511530; Tue, 27 Aug 2013 12:08:31 -0700 (PDT) Original-Received: from [10.0.1.123] (c-76-104-182-172.hsd1.wa.comcast.net. [76.104.182.172]) by mx.google.com with ESMTPSA id ye1sm12308415pab.19.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 Aug 2013 12:08:30 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1508) 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:77774 Archived-At: That sounds very strange indeed! Thank you very much for investigating = this. Where in the source are you looking? On Aug 27, 2013, at 8:59 AM, Jan Dj=E4rv wrote: > Hello.=20 >=20 > This seems to be in the general font code. It does not even try to = check if that glyph is present in the current font (it is), but instead = asks for a font with script symbol. The logic seems strange to me.=20 >=20 > Jan D.=20 >=20 > 26 aug 2013 kl. 18:14 skrev Jan Dj=E4rv : >=20 >> 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. The 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 emacs 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 ASCII art) lose alignment. >>>>=20 >>>> Here is an example in three screenshots, where the "=95" bullet = character is rendered incorrectly. The first screenshot shows the bug on = the current release. You can see that the center line takes up too much = vertical space, and not enough horizontal space. This is a monospace = font (apple monaco). >>>>=20 >>>> The second and third show the correct rendering. The second is an = older emacs build I have that rendered text with Carbon. The third is = Apple's native TextEdit.app, for reference. >>>>=20 >>>>=20 >>>> >>>> >>>> >>=20