X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/57191fa4be31f3d08b0ed0fcae6ae0ffefd837f6..572820e134463899af617cd65dd2f06f09db7032:/unix/gtkfont.h diff --git a/unix/gtkfont.h b/unix/gtkfont.h index f414594e..72f1f6bf 100644 --- a/unix/gtkfont.h +++ b/unix/gtkfont.h @@ -21,14 +21,8 @@ typedef struct unifont { /* * public_charset is the charset used when the user asks for * `Use font encoding'. - * - * real_charset is the charset used when translating text into - * a form suitable for sending to unifont_draw_text(). - * - * They can differ. For example, public_charset might be - * CS_ISO8859_1 while real_charset is CS_ISO8859_1_X11. */ - int public_charset, real_charset; + int public_charset; /* * Font dimensions needed by clients. @@ -41,7 +35,7 @@ unifont *unifont_create(GtkWidget *widget, const char *name, int shadowoffset, int shadowalways); void unifont_destroy(unifont *font); void unifont_draw_text(GdkDrawable *target, GdkGC *gc, unifont *font, - int x, int y, const char *string, int len, + int x, int y, const wchar_t *string, int len, int wide, int bold, int cellwidth); /*