Function: frame-char-height
frame-char-height is a function defined in frame.c.
Signature
(frame-char-height &optional FRAME)
Documentation
Height in pixels of a line in the font in frame FRAME.
If FRAME is omitted or nil, the selected frame is used. For a terminal frame, the value is always 1.
Probably introduced at or before Emacs version 19.23.
Aliases
ediff-frame-char-height (obsolete since 27.1)
Source Code
// Defined in /usr/src/emacs/src/frame.c
{
#ifdef HAVE_WINDOW_SYSTEM
struct frame *f = decode_any_frame (frame);
if (FRAME_WINDOW_P (f))
return make_fixnum (FRAME_LINE_HEIGHT (f));
else
#endif
return make_fixnum (1);
}