man mfontset () - Return a fontset.


mfontset - Return a fontset.


MFontset * mfontset (char * name)


The mfontset() function returns a pointer to a fontset object of name name. If name is NULL, it returns a pointer to the default fontset.

If no fontset has the name name, a new one is created. At that time, if there exists a data <fontset, name> in the m17n database, the fontset contents are initialized according to the data. If no such data exists, the fontset contents are left vacant.

The macro M17N_INIT() creates the default fontset. An application program can modify it before the first call of mframe().


This function returns a pointer to the found or newly created fontset.