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

# mfont\_selection\_priority(3m17n)

## NAME

mfont\_selection\_priority -

## SYNOPSIS

MSymbol\* **mfont\_selection\_priority** ()

## DESCRIPTION

Return the font selection priority. The **mfont\_selection\_priority()** function returns a newly created array of six symbols. The elements are the following keys of font properties ordered by priority.

`Mfamily`, `Mweight`, `Mstyle`, `Mstretch`, `Madstyle`, `Msize`.

The m17n library selects the best matching font according to the order of this array. A font that has a different value for a property of lower priority is preferred to a font that has a different value for a property of higher priority. \

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