---
name: "mfont_set_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_set_selection_priority"
---

# mfont\_set\_selection\_priority(3m17n)

## NAME

mfont\_set\_selection\_priority -

## SYNOPSIS

int **mfont\_set\_selection\_priority** (MSymbol \* *keys*)

## DESCRIPTION

Set the font selection priority. The **mfont\_set\_selection\_priority()** function sets font selection priority according to **keys**, which is an array of six symbols. Each element must be one of the below. No two elements must be the same.

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

See the documentation of the function **mfont\_selection\_priority()** for details. \

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