Re: [PATCH] console UTF-8 fixes

From: H. Peter Anvin
Date: Tue Apr 10 2007 - 13:37:01 EST


Alan Cox wrote:
What do you exactly mean by this? Doing a binary search in a table of 11
intervals to find out whether a character is double-wide? Adding
approximately 30 lines of code (including the table and the binary search
routine) to the kernel to handle this case? I don't think it's bloat. It's a

I don't have a problem with it. It is a situation people find themselves
in and framebuffer consoles can handle CJK although PC text mode ones
can't do it well. It all comes down to a clean and small implementation.

All the CJK framebuffer consoles that handle CJK I've seen run in userspace on top of the kernel framebuffer. Keeping a CJK font in the kernel seems prohibitive regardless of the hardware.

Have you seen anything different?

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/