hb_ot_layout_table_select_script function

  1. @Native<hb_bool_t Function(Pointer<hb_face_t>, hb_tag_t, UnsignedInt, Pointer<hb_codepoint_t>, Pointer<UnsignedInt>, Pointer<hb_codepoint_t>)>(ffi.Pointer<hb_face_t>, hb_tag_t, ffi.UnsignedInt, ffi.Pointer<hb_tag_t>, ffi.Pointer<ffi.UnsignedInt>, ffi.Pointer<hb_tag_t>)>()
int hb_ot_layout_table_select_script(
  1. Pointer<hb_face_t> face,
  2. int table_tag,
  3. int script_count,
  4. Pointer<hb_codepoint_t> script_tags,
  5. Pointer<UnsignedInt> script_index,
  6. Pointer<hb_codepoint_t> chosen_script,
)

Implementation

@ffi.Native<
  hb_bool_t Function(
    ffi.Pointer<hb_face_t>,
    hb_tag_t,
    ffi.UnsignedInt,
    ffi.Pointer<hb_tag_t>,
    ffi.Pointer<ffi.UnsignedInt>,
    ffi.Pointer<hb_tag_t>,
  )
>()
external int hb_ot_layout_table_select_script(
  ffi.Pointer<hb_face_t> face,
  int table_tag,
  int script_count,
  ffi.Pointer<hb_tag_t> script_tags,
  ffi.Pointer<ffi.UnsignedInt> script_index,
  ffi.Pointer<hb_tag_t> chosen_script,
);