diff options
author | Damyan Pepper <damyanp@gmail.com> | 2010-10-13 16:07:28 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2010-10-13 16:07:28 +0200 |
commit | 9fa828240d621736a61f5938f78cc98805fdcf56 (patch) | |
tree | 799e6075c0e1a467522070c065165b5aeac32f95 /src/font.h | |
parent | 7163badd35f9dc49dc5c0a26d2c037f8d4fb5ee7 (diff) | |
download | emacs-9fa828240d621736a61f5938f78cc98805fdcf56.tar.gz emacs-9fa828240d621736a61f5938f78cc98805fdcf56.tar.bz2 emacs-9fa828240d621736a61f5938f78cc98805fdcf56.zip |
Fix handling of font properties on Windows (bug#6303).
* src/font.c (font_filter_properties): New function, refactored from
ftfont_filter_properties.
* src/font.h (font_filter_properties): Declare.
* src/ftfont.c (ftfont_filter_properties): Use font_filter_properties.
* src/w32font.c (w32font_booleans, w32font_non_booleans): New variables.
(w32font_filter_properties): New function.
(w32font_driver): Add w32font_filter_properties.
Diffstat (limited to 'src/font.h')
-rw-r--r-- | src/font.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/font.h b/src/font.h index 96227ffe40b..14b1abc4de8 100644 --- a/src/font.h +++ b/src/font.h @@ -814,6 +814,11 @@ extern int font_put_frame_data P_ ((FRAME_PTR f, extern void *font_get_frame_data P_ ((FRAME_PTR f, struct font_driver *driver)); +extern void font_filter_properties (Lisp_Object font, + Lisp_Object alist, + const char *boolean_properties[], + const char *non_boolean_properties[]); + #ifdef HAVE_FREETYPE extern struct font_driver ftfont_driver; #endif /* HAVE_FREETYPE */ |