diff options
| author | Kenichi Handa | 2002-07-26 04:06:05 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2002-07-26 04:06:05 +0000 |
| commit | 153b4d7b751e341512229cfd529751b197f4ab77 (patch) | |
| tree | 5b824af677e050b63af38aea2db871b3926ebb6d | |
| parent | da78062bf9c1a1b4e737ead21c73bfb63047cd64 (diff) | |
| download | emacs-153b4d7b751e341512229cfd529751b197f4ab77.tar.gz emacs-153b4d7b751e341512229cfd529751b197f4ab77.zip | |
(get_font_repertory_func): New prototype.
(make_fontset_for_ascii_face, fs_load_font): Prototypes fixed.
(FS_LOAD_FONT): Call fs_load_font with the 3rd arg charset_ascii.
| -rw-r--r-- | src/fontset.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/fontset.h b/src/fontset.h index 524a92c274d..899f83b44e5 100644 --- a/src/fontset.h +++ b/src/fontset.h | |||
| @@ -182,6 +182,9 @@ extern void (*set_frame_fontset_func) P_ ((struct frame *f, Lisp_Object arg, | |||
| 182 | This function set the memer `encoder' of the structure. */ | 182 | This function set the memer `encoder' of the structure. */ |
| 183 | extern void (*find_ccl_program_func) P_ ((struct font_info *)); | 183 | extern void (*find_ccl_program_func) P_ ((struct font_info *)); |
| 184 | 184 | ||
| 185 | extern Lisp_Object (*get_font_repertory_func) P_ ((struct frame *, | ||
| 186 | struct font_info *)); | ||
| 187 | |||
| 185 | /* Check if any window system is used now. */ | 188 | /* Check if any window system is used now. */ |
| 186 | extern void (*check_window_system_func) P_ ((void)); | 189 | extern void (*check_window_system_func) P_ ((void)); |
| 187 | 190 | ||
| @@ -191,8 +194,8 @@ extern void free_face_fontset P_ ((FRAME_PTR, struct face *)); | |||
| 191 | extern Lisp_Object fontset_font_pattern P_ ((FRAME_PTR, struct face *, int)); | 194 | extern Lisp_Object fontset_font_pattern P_ ((FRAME_PTR, struct face *, int)); |
| 192 | extern int face_suitable_for_char_p P_ ((struct face *, int)); | 195 | extern int face_suitable_for_char_p P_ ((struct face *, int)); |
| 193 | extern int face_for_char P_ ((FRAME_PTR, struct face *, int)); | 196 | extern int face_for_char P_ ((FRAME_PTR, struct face *, int)); |
| 194 | extern int make_fontset_for_ascii_face P_ ((FRAME_PTR, int)); | 197 | extern int make_fontset_for_ascii_face P_ ((FRAME_PTR, int, struct face *)); |
| 195 | extern struct font_info *fs_load_font P_ ((struct frame *, char *)); | 198 | extern struct font_info *fs_load_font P_ ((struct frame *, char *, int)); |
| 196 | extern int fs_query_fontset P_ ((Lisp_Object, int)); | 199 | extern int fs_query_fontset P_ ((Lisp_Object, int)); |
| 197 | EXFUN (Fquery_fontset, 2); | 200 | EXFUN (Fquery_fontset, 2); |
| 198 | extern Lisp_Object list_fontsets P_ ((struct frame *, Lisp_Object, int)); | 201 | extern Lisp_Object list_fontsets P_ ((struct frame *, Lisp_Object, int)); |
| @@ -209,7 +212,7 @@ extern Lisp_Object Vvertical_centering_font_regexp; | |||
| 209 | struct font_info of the loaded font. If loading fails, return | 212 | struct font_info of the loaded font. If loading fails, return |
| 210 | NULL. */ | 213 | NULL. */ |
| 211 | 214 | ||
| 212 | #define FS_LOAD_FONT(f, fontname) fs_load_font (f, fontname) | 215 | #define FS_LOAD_FONT(f, fontname) fs_load_font (f, fontname, charset_ascii) |
| 213 | 216 | ||
| 214 | 217 | ||
| 215 | /* Return an immutable id for font_info FONT_INFO on frame F. The | 218 | /* Return an immutable id for font_info FONT_INFO on frame F. The |