emacs-devel
[Top][All Lists]
Advanced

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

Re: A patch for enforcing double-width CJK character display


From: Werner LEMBERG
Subject: Re: A patch for enforcing double-width CJK character display
Date: Tue, 17 Apr 2012 08:45:23 +0200 (CEST)

>> Mhmm.  The silent assumption of making a CJK and ASCII font fit is
>> that double-width characters are really double width in relation to
>> single-width characters.  In your example, the width of two ASCII
>> characters is 18px, while one CJK character is 12px.  Such two
>> fonts simply don't fit, and no clever algorithm will be able to
>> make them ever fit without scaling.
> 
> Er, wait, what?
> 
> It can be done trivially, by adding 3 pixels of whitespace on both
> sides of every CJK character...
> 
> [Which is the source of my concern: that in some cases it might be
> so much whitespace that the result looks funny.]

Sorry for being imprecise: I don't mean the possibility of making them
technically fit, which gives funny results, as you correctly state.  I
rather mean an aesthetic fit.


    Werner



reply via email to

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