Re: [Patch] libzvt totally broken for fontset, hence CJK.
- From: ha shao <hashao chinese com>
- To: gnome-devel-list gnome org
- Subject: Re: [Patch] libzvt totally broken for fontset, hence CJK.
- Date: Mon, 20 Aug 2001 00:14:02 +0800
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
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.
] [Thread Prev