Function

HarfBuzz-0.0HarfBuzzot_layout_get_font_extents2Since 8.0.0

  • Fetches script/language-specific font extents. These values are looked up in the BASE table's MinMax records.

    If no such extents are found, the default extents for the font are fetched. As such, the return value of this function can for the most part be ignored. Note that the per-script/language extents do not have a line-gap value, and the line-gap is set to zero in that case.

    This function is like hb_ot_layout_get_font_extents() but takes HarfBuzz.script_t and HarfBuzz.language_t instead of OpenType HarfBuzz.tag_t.

    Parameters

    Returns [number, font_extents_t]

    true if found script/language-specific font extents.

    8.0.0