summaryrefslogtreecommitdiff
path: root/src/fontset.h
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1998-04-15 07:12:49 +0000
committerKenichi Handa <handa@m17n.org>1998-04-15 07:12:49 +0000
commitc2c8997eb30c25dd04ae658fb51fdb09f55e6939 (patch)
tree8e8b69bd0803cf66d55befa32c4e5afd297cf6ff /src/fontset.h
parent6ae21908b0e3dec6be7bc82c34065fdda8d8452f (diff)
downloademacs-c2c8997eb30c25dd04ae658fb51fdb09f55e6939.tar.gz
(FONT_ENCODING_NOT_DECIDED): The value is changed to 255.
(find_ccl_program_func): Extern it. (Fquery_fontset): Args number changed to 2.
Diffstat (limited to 'src/fontset.h')
-rw-r--r--src/fontset.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/fontset.h b/src/fontset.h
index 8d21bd7a511..e14d0cffda4 100644
--- a/src/fontset.h
+++ b/src/fontset.h
@@ -124,7 +124,7 @@ struct font_info
/* A value which may appear in the member encoding of struch font_info
indicating that a font itself doesn't tell which encoding to be
used. */
-#define FONT_ENCODING_NOT_DECIDED 4
+#define FONT_ENCODING_NOT_DECIDED 255
#define FONT_NOT_OPENED -1
#define FONT_NOT_FOUND -2
@@ -200,6 +200,11 @@ extern struct font_info *(*query_font_func) P_ ((struct frame *f, char *name));
extern void (*set_frame_fontset_func) P_ ((struct frame *f, Lisp_Object arg,
Lisp_Object oldval));
+/* To find a CCL program, fs_load_font calls this function.
+ The argument is a pointer to the struct font_info.
+ This function set the memer `encoder' of the structure. */
+extern void (*find_ccl_program_func) P_ ((struct font_info *));
+
/* Check if any window system is used now. */
extern void (*check_window_system_func) P_ ((void));
@@ -209,7 +214,7 @@ extern struct font_info *fs_load_font P_ ((struct frame *, struct font_info *,
int, char *, int));
extern int fs_query_fontset P_ ((struct frame *, char *));
extern int fs_register_fontset P_ ((struct frame *, Lisp_Object));
-EXFUN (Fquery_fontset, 1);
+EXFUN (Fquery_fontset, 2);
extern Lisp_Object list_fontsets P_ ((struct frame *, Lisp_Object, int));
extern Lisp_Object Vglobal_fontset_alist;