[PATCH v2 1/3] Handle CJK wide glyph rendering

Peng Wu peng.e.wu at gmail.com
Sun Jul 21 19:46:59 PDT 2013


Frankly speaking, I suspect that your new fix will break some program
which uses newt with proportional font.
PS: newt is a library for text mode user interfaces.


On Thu, 2013-07-18 at 11:23 -0700, Bill Spitzak wrote:
> I propose the drawing code be changed to something like this:
> 
>    char* string = the_line_to_draw;
>    cairo_draw_text_at(x, y, string);
> 
> And this:
> 
> int where_is_position_n(int n, char* string) {
>    return cairo_text_width(string, n);
> }




More information about the wayland-devel mailing list