]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/gtkfont.h
A bunch of further warning fixes in the Windows code.
[PuTTY.git] / unix / gtkfont.h
index f99097f2ffd485d99674b3700deb65d247cbfdd2..71060205e034cfd095d02a6b1472679ff754efd2 100644 (file)
@@ -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,