If the optional argument @var{frame} is specified, it returns the name
of the font of @var{face} for that frame. If @var{frame} is omitted or
-@code{nil}, the selected frame is used. And, in this case, if the
+@code{nil}, the selected frame is used. In the latter case, if the
optional third argument @var{character} is supplied, it returns the font
name used for @var{character}.
@end defun
@defun default-font-width
This function returns the average width in pixels of the font used by
-the current buffer's default face.
+the current buffer's default face, as that face is defined for the
+selected frame.
@end defun
@defun default-font-height
This function returns the height in pixels of the font used by the
-current buffer's default face.
+current buffer's default face, as that face is defined for the
+selected frame.
@end defun
@defun window-font-width &optional window face
"Return the height in pixels of the current buffer's default face font.
If the default font is remapped (see `face-remapping-alist'), the
-function returns the height of the remapped face."
+function returns the height of the remapped face.
+This function uses the definition of the default face for the currently
+selected frame."
(let ((default-font (face-font 'default)))
(cond
((and (display-multi-font-p)
"Return the width in pixels of the current buffer's default face font.
If the default font is remapped (see `face-remapping-alist'), the
-function returns the width of the remapped face."
+function returns the width of the remapped face.
+This function uses the definition of the default face for the currently
+selected frame."
(let ((default-font (face-font 'default)))
(cond
((and (display-multi-font-p)
"Return the pixel height of current buffer's default-face text line.
The value includes `line-spacing', if any, defined for the buffer
-or the frame."
+or the frame.
+This function uses the definition of the default face for the currently
+selected frame."
(let ((dfh (default-font-height))
(lsp (if (display-graphic-p)
(or line-spacing