tt_find_glyph_index Function

public pure function tt_find_glyph_index(data, index_map, unicode_codepoint) result(glyph_index)

Look up the glyph index for a Unicode codepoint in a cmap subtable. Returns 0 when the codepoint is not covered by the subtable.

Arguments

Type IntentOptional Attributes Name
integer(kind=int8), intent(in) :: data(:)
integer, intent(in) :: index_map
integer, intent(in) :: unicode_codepoint

Return Value integer