tt_get_glyph_box Subroutine

public pure subroutine tt_get_glyph_box(data, loca, glyf, index_to_loc_format, num_glyphs, glyph_index, x0, y0, x1, y1, found)

Get bounding box of a glyph in unscaled font coordinates.

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
integer, intent(out) :: x0
integer, intent(out) :: y0
integer, intent(out) :: x1
integer, intent(out) :: y1
logical, intent(out) :: found