DOKK / manpages / debian 12 / m17n-docs / m17nFontset.3m17n.en
Fontset(3m17n) The m17n Library Fontset(3m17n)

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


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.

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.

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

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

12 Jan 2011 Version 1.6.2