diff options
author | Karl Ramm <kcr@1ts.org> | 2009-04-21 04:11:03 +0000 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2009-04-21 04:11:03 +0000 |
commit | a6fed35df2fddffc5b0397721fbdf46fb1b59399 (patch) | |
tree | 029ad4ed9223526af865364dd711bc523c6b4c8d /zwgc/X_fonts.h | |
parent | 141ce091298a1364e2f6f56f71ad751931120188 (diff) |
Patch from Anders Kaseorg, use Xutf8DrawText et al. where available,
and use XFontSet instead of XFontStruct *
Tweaks to resource file to help the above pick some less wrong fonts.
Diffstat (limited to 'zwgc/X_fonts.h')
-rw-r--r-- | zwgc/X_fonts.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/zwgc/X_fonts.h b/zwgc/X_fonts.h index 62469c8..8e40ed8 100644 --- a/zwgc/X_fonts.h +++ b/zwgc/X_fonts.h @@ -31,7 +31,7 @@ #define LARGE_SIZE 2 /* - * XFontStruct *get_font(string family; int size, face) + * XFontSet get_font(string family; int size, face) * Requires: size is one of SMALL_SIZE, MEDIUM_SIZE, LARGE_SIZE and * face is one of ROMAN_FACE, BOLD_FACE, ITALIC_FACE, * BOLDITALIC_FACE. @@ -41,7 +41,6 @@ * specified by default.medium.roman is used. <<<>>> */ -extern XFontStruct *get_font(Display *, string, string, int, int); -extern XFontStruct *get_fontst_from_fid(Font); +extern XFontSet get_font(Display *, string, string, int, int); #endif |