diff options
Diffstat (limited to 'src/font.h')
| -rw-r--r-- | src/font.h | 32 |
1 files changed, 4 insertions, 28 deletions
diff --git a/src/font.h b/src/font.h index 42137deeaa4..c23b826bd46 100644 --- a/src/font.h +++ b/src/font.h | |||
| @@ -614,15 +614,6 @@ struct font_driver | |||
| 614 | #endif /* HAVE_WINDOW_SYSTEM */ | 614 | #endif /* HAVE_WINDOW_SYSTEM */ |
| 615 | 615 | ||
| 616 | /* Optional. | 616 | /* Optional. |
| 617 | Return an outline data for glyph-code CODE of FONT. The format | ||
| 618 | of the outline data depends on the font-driver. */ | ||
| 619 | void *(*get_outline) (struct font *font, unsigned code); | ||
| 620 | |||
| 621 | /* Optional. | ||
| 622 | Free OUTLINE (that is obtained by the above method). */ | ||
| 623 | void (*free_outline) (struct font *font, void *outline); | ||
| 624 | |||
| 625 | /* Optional. | ||
| 626 | Get coordinates of the INDEXth anchor point of the glyph whose | 617 | Get coordinates of the INDEXth anchor point of the glyph whose |
| 627 | code is CODE. Store the coordinates in *X and *Y. Return 0 if | 618 | code is CODE. Store the coordinates in *X and *Y. Return 0 if |
| 628 | the operations was successful. Otherwise return -1. */ | 619 | the operations was successful. Otherwise return -1. */ |
| @@ -723,20 +714,6 @@ struct font_driver_list | |||
| 723 | struct font_driver_list *next; | 714 | struct font_driver_list *next; |
| 724 | }; | 715 | }; |
| 725 | 716 | ||
| 726 | |||
| 727 | /* Chain of arbitrary data specific to each font driver. | ||
| 728 | Each frame has its own font data list at F->font_data_list. */ | ||
| 729 | |||
| 730 | struct font_data_list | ||
| 731 | { | ||
| 732 | /* Pointer to the font driver. */ | ||
| 733 | struct font_driver *driver; | ||
| 734 | /* Data specific to the font driver. */ | ||
| 735 | void *data; | ||
| 736 | /* Pointer to the next element of the chain. */ | ||
| 737 | struct font_data_list *next; | ||
| 738 | }; | ||
| 739 | |||
| 740 | extern Lisp_Object copy_font_spec (Lisp_Object); | 717 | extern Lisp_Object copy_font_spec (Lisp_Object); |
| 741 | extern Lisp_Object merge_font_spec (Lisp_Object, Lisp_Object); | 718 | extern Lisp_Object merge_font_spec (Lisp_Object, Lisp_Object); |
| 742 | 719 | ||
| @@ -809,11 +786,10 @@ extern void font_fill_lglyph_metrics (Lisp_Object, Lisp_Object); | |||
| 809 | extern Lisp_Object font_put_extra (Lisp_Object font, Lisp_Object prop, | 786 | extern Lisp_Object font_put_extra (Lisp_Object font, Lisp_Object prop, |
| 810 | Lisp_Object val); | 787 | Lisp_Object val); |
| 811 | 788 | ||
| 812 | extern int font_put_frame_data (struct frame *f, | 789 | #if defined (HAVE_XFT) || defined (HAVE_FREETYPE) |
| 813 | struct font_driver *driver, | 790 | extern void font_put_frame_data (struct frame *, Lisp_Object, void *); |
| 814 | void *data); | 791 | extern void *font_get_frame_data (struct frame *f, Lisp_Object); |
| 815 | extern void *font_get_frame_data (struct frame *f, | 792 | #endif /* HAVE_XFT || HAVE_FREETYPE */ |
| 816 | struct font_driver *driver); | ||
| 817 | 793 | ||
| 818 | extern void font_filter_properties (Lisp_Object font, | 794 | extern void font_filter_properties (Lisp_Object font, |
| 819 | Lisp_Object alist, | 795 | Lisp_Object alist, |