tt_init_font_tables Subroutine

public pure subroutine tt_init_font_tables(data, fontstart, loca, head, glyf, hhea, hmtx, kern, gpos, index_map, index_to_loc_format, num_glyphs, success)

Initialize a TrueType font by locating all required tables and the cmap encoding subtable. Sets success=.false. if required tables are missing, no glyf table is present (CFF not supported), or no usable cmap encoding is found.

Arguments

Type IntentOptional Attributes Name
integer(kind=int8), intent(in) :: data(:)
integer, intent(in) :: fontstart
integer, intent(out) :: loca
integer, intent(out) :: head
integer, intent(out) :: glyf
integer, intent(out) :: hhea
integer, intent(out) :: hmtx
integer, intent(out) :: kern
integer, intent(out) :: gpos
integer, intent(out) :: index_map
integer, intent(out) :: index_to_loc_format
integer, intent(out) :: num_glyphs
logical, intent(out) :: success