Function: font-match-p

font-match-p is a function defined in font.c.

Signature

(font-match-p SPEC FONT)

Documentation

Return t if and only if font-spec SPEC matches with FONT.

FONT is a font-spec, font-entity, or font-object.

Source Code

// Defined in /usr/src/emacs/src/font.c
{
  CHECK_FONT_SPEC (spec);
  CHECK_FONT (font);

  return (font_match_p (spec, font) ? Qt : Qnil);
}