aboutsummaryrefslogtreecommitdiffstats
path: root/src/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/font.h')
-rw-r--r--src/font.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/font.h b/src/font.h
index 3387878ad30..e59fc1d1b25 100644
--- a/src/font.h
+++ b/src/font.h
@@ -58,7 +58,7 @@ INLINE_HEADER_BEGIN
58 Lisp object encapsulating "struct font". This corresponds to 58 Lisp object encapsulating "struct font". This corresponds to
59 an opened font. 59 an opened font.
60 60
61 Note: Only the method `open' of a font-driver can create this 61 Note: Only the method `open_font' of a font-driver can create this
62 object, and it should never be modified by Lisp. */ 62 object, and it should never be modified by Lisp. */
63 63
64 64
@@ -594,9 +594,9 @@ struct font_driver
594 :weight, :slant, :width, :size, :dpi, :spacing, :avgwidth. If 594 :weight, :slant, :width, :size, :dpi, :spacing, :avgwidth. If
595 the font is scalable, :size and :avgwidth must be 0. 595 the font is scalable, :size and :avgwidth must be 0.
596 596
597 The `open' method of the same font-backend is called with one of 597 The `open_font' method of the same font-backend is called with one of
598 the returned font-entities. If the backend needs additional 598 the returned font-entities. If the backend needs additional
599 information to be used in `open' method, this method can add any 599 information to be used in `open_font' method, this method can add any
600 Lispy value using the property :font-entity to the entities. 600 Lispy value using the property :font-entity to the entities.
601 601
602 This and the following `match' are the only APIs that allocate 602 This and the following `match' are the only APIs that allocate
@@ -623,8 +623,8 @@ struct font_driver
623 623
624 /* Open a font specified by FONT_ENTITY on frame F. If the font is 624 /* Open a font specified by FONT_ENTITY on frame F. If the font is
625 scalable, open it with PIXEL_SIZE. */ 625 scalable, open it with PIXEL_SIZE. */
626 Lisp_Object (*open) (struct frame *f, Lisp_Object font_entity, 626 Lisp_Object (*open_font) (struct frame *f, Lisp_Object font_entity,
627 int pixel_size); 627 int pixel_size);
628 628
629 /* Close FONT. NOTE: this can be called by GC. */ 629 /* Close FONT. NOTE: this can be called by GC. */
630 void (*close) (struct font *font); 630 void (*close) (struct font *font);