aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32font.h
diff options
context:
space:
mode:
authorKenichi Handa2008-05-14 01:04:21 +0000
committerKenichi Handa2008-05-14 01:04:21 +0000
commit7a9ef2ed880e2d5a456f18d5d6026f6c29454f95 (patch)
tree96bc8d040fb5a59b7f822e517640d47a01f94a9c /src/w32font.h
parentbce485cc8e88195aed2650cb8e8d57d0081418c0 (diff)
downloademacs-7a9ef2ed880e2d5a456f18d5d6026f6c29454f95.tar.gz
emacs-7a9ef2ed880e2d5a456f18d5d6026f6c29454f95.zip
(struct w32font_info): New member.
(FONT_COMPAT): New macro. (w32font_open_internal): Prototype adjusted.
Diffstat (limited to 'src/w32font.h')
-rw-r--r--src/w32font.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/w32font.h b/src/w32font.h
index 6345d59c71f..8aba6a3e6d5 100644
--- a/src/w32font.h
+++ b/src/w32font.h
@@ -55,8 +55,11 @@ struct w32font_info
55 unsigned int glyph_idx; 55 unsigned int glyph_idx;
56 struct w32_metric_cache **cached_metrics; 56 struct w32_metric_cache **cached_metrics;
57 int n_cache_blocks; 57 int n_cache_blocks;
58 W32FontStruct *compat_w32_font;
58}; 59};
59 60
61#define FONT_COMPAT(f) (((struct w32font_info *) (f))->compat_w32_font)
62
60#define CACHE_BLOCKSIZE 128 63#define CACHE_BLOCKSIZE 128
61 64
62Lisp_Object w32font_get_cache P_ ((FRAME_PTR fe)); 65Lisp_Object w32font_get_cache P_ ((FRAME_PTR fe));
@@ -67,7 +70,7 @@ Lisp_Object w32font_match_internal P_ ((Lisp_Object frame,
67 Lisp_Object font_spec, 70 Lisp_Object font_spec,
68 int opentype_only)); 71 int opentype_only));
69int w32font_open_internal P_ ((FRAME_PTR f, Lisp_Object font_entity, 72int w32font_open_internal P_ ((FRAME_PTR f, Lisp_Object font_entity,
70 int pixel_size, struct w32font_info *w32_font)); 73 int pixel_size, Lisp_Object font_object));
71void w32font_close P_ ((FRAME_PTR f, struct font *font)); 74void w32font_close P_ ((FRAME_PTR f, struct font *font));
72int w32font_has_char P_ ((Lisp_Object entity, int c)); 75int w32font_has_char P_ ((Lisp_Object entity, int c));
73int w32font_text_extents P_ ((struct font *font, unsigned *code, int nglyphs, 76int w32font_text_extents P_ ((struct font *font, unsigned *code, int nglyphs,