[PATCH v2 0/3] Improves CJK wide character handling

Peng Wu peng.e.wu at gmail.com
Wed Jul 17 00:50:22 PDT 2013


Currently weston terminal render CJK characters incorrectly,
I wrote 3 patches to improves it.
  The patch set covers:
    1. fixes cursor position and rendering;
    2. fixes text selection computing and rendering;

PS:
If this patch set seems okay, I will begin to remove the glib dependence
by duplicating codes.

BTW, could I use wcwidth from <wchar.h>?

Peng Wu (3):
  Handle CJK wide glyph rendering
  Fixes cursor rendering for wide glyphs
  Fixes compute selection

 clients/Makefile.am |  2 +-
 clients/terminal.c  | 88 +++++++++++++++++++++++++++++++++++++++++++++++------
 2 files changed, 79 insertions(+), 11 deletions(-)

-- 
1.8.3.1



More information about the wayland-devel mailing list