all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Maftei <ninestraycats@gmail.com>
To: Peter Dyballa <Peter_Dyballa@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Cocoa emacs renders Unicode combining diacritics improperly
Date: Mon, 16 Jul 2012 23:15:18 +0100	[thread overview]
Message-ID: <CABxY=vigayaOL3mO2Ls=G8TXdttAr8WBrgp3+we_m2XzvMXM4Q@mail.gmail.com> (raw)
In-Reply-To: <89CCB64C-8963-45D5-866C-A6B208F007E2@Web.DE>

[-- Attachment #1: Type: text/plain, Size: 1801 bytes --]

On Mon, Jul 16, 2012 at 9:16 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:

>
> Am 16.07.2012 um 19:09 schrieb Dan Maftei:
>
> > Pre-composed characters (e.g. 0xf1, ñ) render perfectly, but combining
> > diacritics (e.g. n\x303) render the character oddly. Namely, the
> diacritic
> > very miniscule, and is not placed directly above the main character (but
> > not entirely to the left or right either). However, a single glyph IS
> > created, since C-f and C-b skip over the entire rendered character.
>
> Try again with a font having the COMBINING accents! You probably used an
> inadequate font so that GNU Emacs had to use two different fonts. Which you
> can check yourself by putting the text cursor on the basic character or on
> the accent and typing each time C-u C-x =.
>

I was not clear enough.

It is not possible to "put the text cursor on the basic character or on the
accent" because the two are combined.

My font is apple-monaco for both pre-composed and compositional characters.

I have uploaded images of both compositional (http://i.imgur.com/yWPmv.png)
and pre-composed (http://i.imgur.com/5Kfy2.png) characters. I've included
describe-char output as well.

Notice: the combining diacritic is rendered extremely small, and
off-center. It doesn't even look like a tilde in the final glyph.


>
> For tests you could try to use Lucida Grande, a quite rich font. A good
> mono-spaced font is DejaVu Sans Mono. Lucida Sans Typewriter from Java is
> also a pretty good candidate. (Create a library in Font Book and populate
> it with the TT fonts!)
> np
>

The default Cocoa emacs font (apple-monaco) properly renders combining
characters in TextEdit. Nevertheless, I tried Lucida Grande, and it did not
fix the issue.

Cheers,
Dan

[-- Attachment #2: Type: text/html, Size: 2495 bytes --]

  reply	other threads:[~2012-07-16 22:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-16 17:09 Cocoa emacs renders Unicode combining diacritics improperly Dan Maftei
2012-07-16 20:16 ` Peter Dyballa
2012-07-16 22:15   ` Dan Maftei [this message]
2012-07-16 23:09     ` Peter Dyballa
2012-07-16 23:23       ` Dan Maftei
2012-07-17  9:51         ` Peter Dyballa
2012-07-17 12:52           ` Dan Maftei
2012-07-17 21:15             ` Peter Dyballa
2012-07-17 22:16               ` Dan Maftei
2012-07-17 23:10                 ` Peter Dyballa
2012-07-18  0:03                   ` Dan Maftei
2012-07-18  8:48                     ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABxY=vigayaOL3mO2Ls=G8TXdttAr8WBrgp3+we_m2XzvMXM4Q@mail.gmail.com' \
    --to=ninestraycats@gmail.com \
    --cc=Peter_Dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.