1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-03 04:22:47 -05:00

Implemented a Pango back end. GTK 2 PuTTY can now switch seamlessly

back and forth between X fonts and Pango fonts, provided you're
willing to type in the names of the former by hand.

[originally from svn r7937]
This commit is contained in:
Simon Tatham
2008-03-22 18:11:17 +00:00
parent 93c6e2c987
commit debbee0fe4
3 changed files with 191 additions and 28 deletions

View File

@ -36,11 +36,11 @@ typedef struct unifont {
int width, height, ascent, descent;
} unifont;
unifont *unifont_create(char *name, int wide, int bold,
unifont *unifont_create(GtkWidget *widget, char *name, int wide, int bold,
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 wide, int bold);
int wide, int bold, int cellwidth);
#endif /* PUTTY_GTKFONT_H */