mfont_set_encoding(3m17n)

mfont_set_encoding3m17n

Usage

int mfont_set_encoding (MFont * font, MSymbol encoding_name, MSymbol repertory_name)

Overview

Set encoding of a font. The mfont_set_encoding() function sets the encoding information of font font.

encoding_name is a symbol representing a charset that has the same encoding as the font.

repertory_name is Mnil or a symbol representing a charset that has the same repertory as the font. If it is Mnil, whether a specific character is supported by the font is asked to each font driver.

Return value

If the operation was successful, this function returns 0. Otherwise it returns -1 and assigns an error code to the external variable merror_code.

Releases

8 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 7–12
  3. 13

From m17n-docs 1.8.4-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.