From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Maftei Newsgroups: gmane.emacs.help Subject: Re: Cocoa emacs renders Unicode combining diacritics improperly Date: Tue, 17 Jul 2012 00:23:12 +0100 Message-ID: References: <89CCB64C-8963-45D5-866C-A6B208F007E2@Web.DE> <26966270-2EEA-42B0-A669-D946E1927F3E@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae9cfc82cda75a204c4fab73e X-Trace: dough.gmane.org 1342481020 31142 80.91.229.3 (16 Jul 2012 23:23:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2012 23:23:40 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 17 01:23:40 2012 Return-path: Envelope-to: geh-help-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 1Squdg-0005wK-GX for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Jul 2012 01:23:40 +0200 Original-Received: from localhost ([::1]:54416 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Squdf-0002QG-Nl for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Jul 2012 19:23:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqudZ-0002QB-Vz for help-gnu-emacs@gnu.org; Mon, 16 Jul 2012 19:23:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SqudY-0004Ku-Sh for help-gnu-emacs@gnu.org; Mon, 16 Jul 2012 19:23:33 -0400 Original-Received: from mail-vc0-f169.google.com ([209.85.220.169]:48947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqudY-0004Km-M2 for help-gnu-emacs@gnu.org; Mon, 16 Jul 2012 19:23:32 -0400 Original-Received: by vcbfl10 with SMTP id fl10so4857341vcb.0 for ; Mon, 16 Jul 2012 16:23:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=sb4+Mwcp6dN2UwtAcIKqksSu3SeqmutJeOd10XKtBGA=; b=GfCn7Ofr044z3JcY5AW06cHN5PXV8WC17ZgvrZAsor8et18i9kZciMnyvvQLwnbSe2 dSaJ6GbUs+JhPxMD7i9OpXsPJZaqZCRXl/sXRGLgLsa2oZMQfFouoztfVk7efoCx1y24 /VdQPfy/CR6KJNQB+3necgptGnE6VaEtqEgxJxHpjOgnSZIzrDirbCsLETi+L5uQO/B2 mASJsmMUgms3q9ERKIy4AsWjgt620urOfxA2evY9dH8gAJq7Vh2R1l7noUEnpVkxF/u2 tzauvoOvOFBDZEdb2ral6riJSgidLNN93epuuBM+9pWWowNU5Kd4tbYhAkkrHzJOKWxA vyNQ== Original-Received: by 10.220.220.72 with SMTP id hx8mr97417vcb.49.1342481012258; Mon, 16 Jul 2012 16:23:32 -0700 (PDT) Original-Received: by 10.58.187.197 with HTTP; Mon, 16 Jul 2012 16:23:12 -0700 (PDT) In-Reply-To: <26966270-2EEA-42B0-A669-D946E1927F3E@web.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.220.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85893 Archived-At: --14dae9cfc82cda75a204c4fab73e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Jul 17, 2012 at 12:09 AM, Peter Dyballa wrote= : > > Am 17.07.2012 um 00:15 schrieb Dan Maftei: > > > Notice: the combining diacritic is rendered extremely small, and > > off-center. It doesn't even look like a tilde in the final glyph. > > This "combined diacritic" is actually LATIN SMALL LETTER N. That's what > the *Help* buffer says. You can also see this when reading the "preferred > charset" value. > Yeah, I wasn't sure how to interpret that. It is indeed ASCII 0x6e but what to make of 'Composed with the following character(s) "~"'? Since combining characters work in non-windowed mode, I tried to look at describe-char output running emacs -nw -Q but describe-char on combining characters causes a fatal error. >.< I sent a bug report. > How is it when you launch GNU Emacs without customisation? This can be > achieved from the command line as "/Emacs.app/Contents/MacOS/Ema= cs > -Q &". > I always test such things without loading .emacs before posting to mailing lists. :-) So, same results. > > With Cmd-T the Mac OS X font chooser comes up and you can select a font > and also its size. C-h H produces the *HELLO* buffer with a few interesti= ng > scripts=E2=80=A6 > > As I mentioned, other fonts produce the same results, including the ones you mentioned (e.g. Lucida Grande). Further, the default font, Monaco, has support for combining characters (I tested in TextEdit). Not sure what I'm to do with the *HELLO* buffer. Everything is rendered properly. I imagine most diacritics were displayed on pre-composed characters (I only checked a few). Cheers, Dan --14dae9cfc82cda75a204c4fab73e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Tue, Jul 17, 2012 at 12:09 AM, Peter = Dyballa <Peter_Dyballa@web.de> wrote:

Am 17.07.2012 um 00:15 schrieb Dan Maftei:

> Notice: the combining diacritic is rendered extremely small, and
> off-center. It doesn't even look like a tilde in the final glyph.<= br>
This "combined diacritic" is actually LATIN SMALL LETTER N.= That's what the *Help* buffer says. You can also see this when reading= the "preferred charset" value.

Yeah, I wasn't sure how to interpret that. It is indeed ASCII 0x6e= but what to make of 'Composed with the following character(s) "~&= quot;'?

Since combining characters work in non= -windowed mode, I tried to look at describe-char output running emacs -nw -= Q but describe-char on combining characters causes a fatal error. >.<= I sent a bug report.


How is it when you launch GNU Emacs without customisation? This can be achi= eved from the command line as "<path to>/Emacs.app/Contents/MacO= S/Emacs -Q &".

I always test s= uch things without loading .emacs before posting to mailing lists. :-) =C2= =A0So, same results.
=C2=A0

With Cmd-T the Mac OS X font chooser comes up and you can select a font and= also its size. C-h H produces the *HELLO* buffer with a few interesting sc= ripts=E2=80=A6


As I mentioned, other fonts produce th= e same results, including the ones you mentioned (e.g. Lucida Grande). Furt= her, the default font, Monaco, has support for combining characters (I test= ed in TextEdit).

Not sure what I'm to do with the *HELLO* buffer. Ev= erything is rendered properly. I imagine most diacritics were displayed on = pre-composed characters (I only checked a few).

Cheers,
Dan
--14dae9cfc82cda75a204c4fab73e--