man m17nFontset () - A fontset is an object that maps a character to fonts.

NAME

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

Typedefs

typedef MFontset MFontset

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 language, MSymbol script, 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 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.

Typedef Documentation

typedef struct MFontset MFontset