aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2017-12-15 12:30:30 +0200
committerEli Zaretskii2017-12-15 12:30:30 +0200
commitd64b88da2fcc23cb0676fca382b4ddc7d1b68020 (patch)
tree7117ecc1009ec920739ca060c40ff3ba93c6c44b
parent92b2604a7f1757e0b2487451441c39a48f989c19 (diff)
downloademacs-d64b88da2fcc23cb0676fca382b4ddc7d1b68020.tar.gz
emacs-d64b88da2fcc23cb0676fca382b4ddc7d1b68020.zip
* src/font.c (Ffont_info): Doc fix. (Bug#29682)
-rw-r--r--src/font.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/font.c b/src/font.c
index 441652b0951..69efd7d56d2 100644
--- a/src/font.c
+++ b/src/font.c
@@ -5055,10 +5055,10 @@ DEFUN ("font-info", Ffont_info, Sfont_info, 1, 2, 0,
5055 doc: /* Return information about a font named NAME on frame FRAME. 5055 doc: /* Return information about a font named NAME on frame FRAME.
5056If FRAME is omitted or nil, use the selected frame. 5056If FRAME is omitted or nil, use the selected frame.
5057 5057
5058The returned value is a vector: 5058The returned value is a vector of 14 elements:
5059 [ OPENED-NAME FULL-NAME SIZE HEIGHT BASELINE-OFFSET RELATIVE-COMPOSE 5059 [ OPENED-NAME FULL-NAME SIZE HEIGHT BASELINE-OFFSET RELATIVE-COMPOSE
5060 DEFAULT-ASCENT MAX-WIDTH ASCENT DESCENT SPACE-WIDTH AVERAGE-WIDTH 5060 DEFAULT-ASCENT MAX-WIDTH ASCENT DESCENT SPACE-WIDTH AVERAGE-WIDTH
5061 CAPABILITY ] 5061 FILENAME CAPABILITY ]
5062where 5062where
5063 OPENED-NAME is the name used for opening the font, 5063 OPENED-NAME is the name used for opening the font,
5064 FULL-NAME is the full name of the font, 5064 FULL-NAME is the full name of the font,
@@ -5068,12 +5068,12 @@ where
5068 RELATIVE-COMPOSE and DEFAULT-ASCENT are the numbers controlling 5068 RELATIVE-COMPOSE and DEFAULT-ASCENT are the numbers controlling
5069 how to compose characters, 5069 how to compose characters,
5070 MAX-WIDTH is the maximum advance width of the font, 5070 MAX-WIDTH is the maximum advance width of the font,
5071 ASCENT, DESCENT, SPACE-WIDTH, AVERAGE-WIDTH are metrics of the font 5071 ASCENT, DESCENT, SPACE-WIDTH, and AVERAGE-WIDTH are metrics of
5072 in pixels, 5072 the font in pixels,
5073 FILENAME is the font file name, a string (or nil if the font backend 5073 FILENAME is the font file name, a string (or nil if the font backend
5074 doesn't provide a file name). 5074 doesn't provide a file name).
5075 CAPABILITY is a list whose first element is a symbol representing the 5075 CAPABILITY is a list whose first element is a symbol representing the
5076 font format, one of x, opentype, truetype, type1, pcf, or bdf. 5076 font format, one of `x', `opentype', `truetype', `type1', `pcf', or `bdf'.
5077 The remaining elements describe the details of the font capabilities, 5077 The remaining elements describe the details of the font capabilities,
5078 as follows: 5078 as follows:
5079 5079