emacs-devel
[Top][All Lists]
Advanced

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

Re: Unicode combining characters


From: Eli Zaretskii
Subject: Re: Unicode combining characters
Date: Tue, 25 May 2021 20:24:15 +0300

> From: Anand Tamariya <atamariya@gmail.com>
> Date: Tue, 25 May 2021 21:26:44 +0530
> 
> Hindi Devanagari script has lot of unicode combining characters which results 
> in misalignment in a
> rectangular overlay for constant number of characters (screenshot ) 
> What would be a recommended way to tackle this in Emacs?

Use align-to 'space' display spec and/or the window-text-pixel-size
function, which will account for the actual size of the text on
display.  string-width can also be used, but it only gives an
approximation, as it is oblivious of the actual size of the font
glyphs.



reply via email to

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