all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* composition -- combining accent alignment off for variable-width fonts
@ 2008-09-16  7:34 Miles Bader
  2008-09-17 11:23 ` Kenichi Handa
  0 siblings, 1 reply; 2+ messages in thread
From: Miles Bader @ 2008-09-16  7:34 UTC (permalink / raw)
  To: emacs-devel

The alignment of unicode combining accents seems reasonable in a
fixed-width font, but is clearly off for a variable-width font.

For instance, the following string:

xyz: ç̄̓ö̈ó̀l̗̈

Looks OK with font "DejaVu Sans Mono", but messed up with font "DejaVu
Sans".  [As far as I can tell, these fonts have roughly the same
coverage, so I'm guessing that's not a problem.]

With the cursor positioned over the "c", for instance, I can use `C-u
C-x =' to see:

Composed with the following character(s) "̧̄" using this font:
  xft:-unknown-DejaVu Sans-normal-normal-normal-*-12-*-*-*-*-0-iso10646-1
by these glyphs:
  [0 2 99 70 7 -2 6 8 2 nil]
  [0 2 807 728 0 -4 -2 0 2 [-4 0 0]]
  [0 2 772 693 0 -5 -1 9 -8 [-4 0 0]]


-Miles

-- 
"I distrust a research person who is always obviously busy on a task."
   --Robert Frosch, VP, GM Research




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: composition -- combining accent alignment off for variable-width fonts
  2008-09-16  7:34 composition -- combining accent alignment off for variable-width fonts Miles Bader
@ 2008-09-17 11:23 ` Kenichi Handa
  0 siblings, 0 replies; 2+ messages in thread
From: Kenichi Handa @ 2008-09-17 11:23 UTC (permalink / raw)
  To: Miles Bader; +Cc: emacs-devel

In article <buosks0sfvs.fsf@dhapc248.dev.necel.com>, Miles Bader <miles.bader@necel.com> writes:

> The alignment of unicode combining accents seems reasonable in a
> fixed-width font, but is clearly off for a variable-width font.

In my environment, Emacs displays those combining accents
correctly even with "dejavu sans" font (see the attached image).

> For instance, the following string:

> xyz: xyz: ç̄̓ö̈ó̀l̗̈

> Looks OK with font "DejaVu Sans Mono", but messed up with font "DejaVu
> Sans".  [As far as I can tell, these fonts have roughly the same
> coverage, so I'm guessing that's not a problem.]

Ah, that is a problem of m17n-flt.  It is fixed in the next
release.  You can also try the latest CVS code:

  % cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n co m17n-lib

---
Kenichi Handa
handa@ni.aist.go.jp




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-17 11:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-16  7:34 composition -- combining accent alignment off for variable-width fonts Miles Bader
2008-09-17 11:23 ` Kenichi Handa

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.