---
name: "mfont_match_p"
section: "3m17n"
platform: "linux"
package: "m17n-docs"
version: "1.8.4-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mfont_match_p"
---

# mfont\_match\_p(3m17n)

## NAME

mfont\_match\_p -

## SYNOPSIS

int **mfont\_match\_p** (**MFont** \* *font*, **MFont** \* *spec*)

## DESCRIPTION

Check is a font matches with a font spec. The **mfont\_match\_p()** function checks if **font** matches with the font-spec **spec**.

## RETURN VALUE

If the font matches, 1 is returned. Otherwise 0 is returned. \

## COPYRIGHT

Copyright (C) 2001 Information-technology Promotion Agency (IPA)\
 Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)\
 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License  \<http://www.gnu.org/licenses/fdl.html\>.
