diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/font.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/font.h b/src/font.h index 264dd2b815b..9ea04ef4c05 100644 --- a/src/font.h +++ b/src/font.h | |||
| @@ -291,11 +291,16 @@ struct font_driver | |||
| 291 | cons whose cdr part is the actual cache area. */ | 291 | cons whose cdr part is the actual cache area. */ |
| 292 | Lisp_Object (*get_cache) P_ ((Lisp_Object frame)); | 292 | Lisp_Object (*get_cache) P_ ((Lisp_Object frame)); |
| 293 | 293 | ||
| 294 | /* List fonts matching with FONT_SPEC on FRAME. The value is a | 294 | /* List fonts exactly matching with FONT_SPEC on FRAME. The value |
| 295 | vector of font-entities. This is the sole API that allocates | 295 | is a vector of font-entities. This is the sole API that |
| 296 | font-entities. */ | 296 | allocates font-entities. */ |
| 297 | Lisp_Object (*list) P_ ((Lisp_Object frame, Lisp_Object font_spec)); | 297 | Lisp_Object (*list) P_ ((Lisp_Object frame, Lisp_Object font_spec)); |
| 298 | 298 | ||
| 299 | /* Return a font entity most closely maching with FONT_SPEC on | ||
| 300 | FRAME. The closeness is detemined by the font backend, thus | ||
| 301 | `face-font-selection-order' is ignored here. */ | ||
| 302 | Lisp_Object (*match) P_ ((Lisp_Object frame, Lisp_Object font_spec)); | ||
| 303 | |||
| 299 | /* Optional. | 304 | /* Optional. |
| 300 | List available families. The value is a list of family names | 305 | List available families. The value is a list of family names |
| 301 | (symbols). */ | 306 | (symbols). */ |
| @@ -480,8 +485,7 @@ extern int font_unparse_fcname P_ ((Lisp_Object font, int pixel_size, | |||
| 480 | char *name, int bytes)); | 485 | char *name, int bytes)); |
| 481 | extern void register_font_driver P_ ((struct font_driver *driver, FRAME_PTR f)); | 486 | extern void register_font_driver P_ ((struct font_driver *driver, FRAME_PTR f)); |
| 482 | extern void free_font_driver_list P_ ((FRAME_PTR f)); | 487 | extern void free_font_driver_list P_ ((FRAME_PTR f)); |
| 483 | extern void font_update_drivers P_ ((FRAME_PTR f, Lisp_Object name_list, | 488 | extern Lisp_Object font_update_drivers P_ ((FRAME_PTR f, Lisp_Object list)); |
| 484 | struct font *)); | ||
| 485 | extern Lisp_Object font_at P_ ((int c, EMACS_INT pos, struct face *face, | 489 | extern Lisp_Object font_at P_ ((int c, EMACS_INT pos, struct face *face, |
| 486 | struct window *w, Lisp_Object object)); | 490 | struct window *w, Lisp_Object object)); |
| 487 | 491 | ||