X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Fgtkfont.h;h=71060205e034cfd095d02a6b1472679ff754efd2;hb=095072fa46b2d7b8beafaddb2f873d2f500a1e10;hp=f99097f2ffd485d99674b3700deb65d247cbfdd2;hpb=5319c659ad23fde34606f49847e70867c5826ea9;p=PuTTY.git diff --git a/unix/gtkfont.h b/unix/gtkfont.h index f99097f2..71060205 100644 --- a/unix/gtkfont.h +++ b/unix/gtkfont.h @@ -136,6 +136,15 @@ 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); +/* Return a name that will select a bigger/smaller font than this one, + * or NULL if no such name is available. */ +char *unifont_size_increment(unifont *font, int increment); /* * This function behaves exactly like the low-level unifont_create,