tt_get_glyf_offset Function

public pure function tt_get_glyf_offset(data, loca, glyf, index_to_loc_format, num_glyphs, glyph_index) result(offset)

Get byte offset to a glyph in the glyf table. Returns -1 for empty glyphs or invalid indices.

Arguments

Type IntentOptional Attributes Name
integer(kind=int8), intent(in) :: data(:)
integer, intent(in) :: loca
integer, intent(in) :: glyf
integer, intent(in) :: index_to_loc_format
integer, intent(in) :: num_glyphs
integer, intent(in) :: glyph_index

Return Value integer