X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Fgtkfont.h;h=6aa8ce2eb302d662fe4936aafbd77694dd401f82;hb=9dd9860cc84f82309de64c33e2813c6e9dc60749;hp=f99097f2ffd485d99674b3700deb65d247cbfdd2;hpb=5319c659ad23fde34606f49847e70867c5826ea9;p=PuTTY.git diff --git a/unix/gtkfont.h b/unix/gtkfont.h index f99097f2..6aa8ce2e 100644 --- a/unix/gtkfont.h +++ b/unix/gtkfont.h @@ -136,6 +136,12 @@ void unifont_destroy(unifont *font); void unifont_draw_text(unifont_drawctx *ctx, unifont *font, int x, int y, const wchar_t *string, int len, int wide, int bold, int cellwidth); +/* Same as unifont_draw_text, but expects 'string' to contain one + * normal char plus combining chars, and overdraws them all in the + * same character cell. */ +void unifont_draw_combining(unifont_drawctx *ctx, unifont *font, + int x, int y, const wchar_t *string, int len, + int wide, int bold, int cellwidth); /* * This function behaves exactly like the low-level unifont_create,