Mercurial > emacs
changeset 94916:283ee643ce8b
(struct w32font_info): New member.
(FONT_COMPAT): New macro.
(w32font_open_internal): Prototype adjusted.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 14 May 2008 01:04:21 +0000 |
parents | 39c862063355 |
children | e61553aa7a73 |
files | src/w32font.h |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32font.h Wed May 14 01:03:39 2008 +0000 +++ b/src/w32font.h Wed May 14 01:04:21 2008 +0000 @@ -55,8 +55,11 @@ unsigned int glyph_idx; struct w32_metric_cache **cached_metrics; int n_cache_blocks; + W32FontStruct *compat_w32_font; }; +#define FONT_COMPAT(f) (((struct w32font_info *) (f))->compat_w32_font) + #define CACHE_BLOCKSIZE 128 Lisp_Object w32font_get_cache P_ ((FRAME_PTR fe)); @@ -67,7 +70,7 @@ Lisp_Object font_spec, int opentype_only)); int w32font_open_internal P_ ((FRAME_PTR f, Lisp_Object font_entity, - int pixel_size, struct w32font_info *w32_font)); + int pixel_size, Lisp_Object font_object)); void w32font_close P_ ((FRAME_PTR f, struct font *font)); int w32font_has_char P_ ((Lisp_Object entity, int c)); int w32font_text_extents P_ ((struct font *font, unsigned *code, int nglyphs,