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

# m17nFontset(3m17n)

\- A fontset is an object that maps a character to fonts.

## NAME

m17nFontset\_-\_Fon -  - A fontset is an object that maps a character to fonts.

## SYNOPSIS

### Functions

**MFontset** \* **mfontset** (char \*name)\
 Return a fontset.  MSymbol **mfontset\_name** (**MFontset** \*fontset)\
 Return the name of a fontset.  **MFontset** \* **mfontset\_copy** (**MFontset** \*fontset, char \*name)\
 Make a copy of a fontset.  int **mfontset\_modify\_entry** (**MFontset** \*fontset, MSymbol script, MSymbol language, MSymbol charset, **MFont** \*spec, MSymbol layouter\_name, int how)\
 Modify the contents of a fontset.  **MPlist** \* **mfontset\_lookup** (**MFontset** \*fontset, MSymbol script, MSymbol language, MSymbol charset)\
 Lookup a fontset.

## Detailed Description

A fontset is an object that maps a character to fonts.

A *fontset* is an object of the type `MFontset`. When drawing an M-text, a fontset provides rules to select a font for each character in the M-text according to the following information.

- •

  The script character property of a character.

- •

  The language text property of a character.

- •

  The charset text property of a character.

The documentation of **mdraw\_text()** describes how that information is used. \

## Author

Generated automatically by Doxygen for The m17n Library from the source code.

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