Fontset(3m17n)

NAME
m17nFontset - Fontset: A fontset is an object that maps a character to fonts.

  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.

COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2008 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>.