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

# mfont\_find(3m17n)

## NAME

mfont\_find -

## SYNOPSIS

**MFont**\* **mfont\_find** (**MFrame** \* *frame*, **MFont** \* *spec*, int \* *score*, int *max\_size*)

## DESCRIPTION

Find a font. The **mfont\_find()** function returns a pointer to the available font that matches best the specification **spec** on frame **frame**.

**score**, if not NULL, must point to a place to store the score value that indicates how well the found font matches to **spec**. The smaller score means a better match. \

## 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\>.
