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

# mfont\_put\_prop(3m17n)

## NAME

mfont\_put\_prop -

## SYNOPSIS

int **mfont\_put\_prop** (**MFont** \* *font*, MSymbol *key*, void \* *val*)

## DESCRIPTION

Put a property value to a font. The **mfont\_put\_prop()** function puts a font property whose key is **key** and value is **val** to font **font**. **key** must be one of the following symbols:

`Mfoundry`, `Mfamily`, `Mweight`, `Mstyle`, `Mstretch`, `Madstyle`, `Mregistry`, `Msize`, `Mresolution`.

If **key** is `Msize` or `Mresolution`, **val** must be an integer. Otherwise, **val** must be a symbol of a property value name. But, if the name is 'nil', a symbol of name 'Nil' must be specified. \

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