emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ucs-normalize and diacritics


From: Eli Zaretskii
Subject: Re: ucs-normalize and diacritics
Date: Thu, 26 Jul 2018 05:39:47 +0300

> From: Robert Pluim <address@hidden>
> Cc: address@hidden
> Date: Wed, 25 Jul 2018 22:11:47 +0200
> 
> > I've looked at the related code, and it least the first part doesn't
> > seem to be too hard: it just needs expanding some APIs.  The relevant
> > function is autocmp_chars, called from composition_reseat_it, which is
> > called by the CHAR_COMPOSED_P macro.  The only problem to solve is how
> > to determine what font to use if the composition includes more than 2
> > characters, and Emacs selects more than 2 fonts to display them (e.g.,
> > 3-character composition, each character needs a different font).
> 
> How common is 3-character composition likely to be?

Among compositions, quite common, although not in the Latin scripts.

> (for that matter, how common is 2-character composition?  I
> explicitly use input methods for this kind of stuff).

There's no relation whatsoever between input methods and character
composition.

> In any case, based on my quick testing with gedit, weʼre no better or
> worse than it is, it also does not compose if the font of the base
> character doesnʼt cover the combining character.

Sure.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]