comparison src/fontset.h @ 88902:8975795eb087

(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.
author Kenichi Handa <handa@m17n.org>
date Fri, 26 Jul 2002 04:06:05 +0000
parents 7c109f1a7bcb
children 6161711538fa
comparison
equal deleted inserted replaced
88901:bcf253c370e8 88902:8975795eb087
180 /* To find a CCL program, fs_load_font calls this function. 180 /* To find a CCL program, fs_load_font calls this function.
181 The argument is a pointer to the struct font_info. 181 The argument is a pointer to the struct font_info.
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
188 struct face; 191 struct face;
189 192
190 extern void free_face_fontset P_ ((FRAME_PTR, struct face *)); 193 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));
199 202
200 extern Lisp_Object Qfontset; 203 extern Lisp_Object Qfontset;
207 /* Load a font named FONTNAME on frame F. All fonts for frame F is 210 /* Load a font named FONTNAME on frame F. All fonts for frame F is
208 stored in a table pointed by FONT_TABLE. Return a pointer to the 211 stored in a table pointed by FONT_TABLE. Return a pointer to the
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
216 reason for this macro is hat one cannot hold pointers to font_info 219 reason for this macro is hat one cannot hold pointers to font_info
217 structures in other data structures, because the table is 220 structures in other data structures, because the table is