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:
@ -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 */
|
||||
|
Reference in New Issue
Block a user