Re: [Patch] libzvt totally broken for fontset, hence CJK.



On Sun, Aug 19, 2001 at 11:54:33AM -0400, otaylor redhat com wrote:
> 
> Christian Marillat <marillat christian wanadoo fr> writes:
> > Why these patches aren't in the official library ?
> 
> They aren't in the official library because they take the already
> messy and incorrect ZVT code and make it a lot messier and less
> correct. For instance, I believe the code simply assumes that a
> multi-byte character that takes up n bytes will take up n
> half-charcells - which is right for EUC encoding, but not for much
> else.
> 

Can parts of the patch go in upstream? The XmbDrawText/XwcDrawText
part, IM on the spot part (I don't really care this one), and fontset
loading part? With gdk_text_extents replaces the charwidth*len's
in text_draw, at least we can display things ok to some extent.

-- 
Best regard
hashao




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