PangoOT.Info.find_script
Description: Reference for PangoOT.Info.find_script

### Method

# PangoOT.Info.find_script

#### Declaration [src]

    gboolean
    pango_ot_info_find_script (
      PangoOTInfo* info,
      PangoOTTableType table_type,
      PangoOTTag script_tag,
      guint* script_index
    )

#### Description [src]

Finds the index of a script. If not found, tries to find the ‘DFLT’ and then ‘dflt’ scripts and return the index of that in `script_index`. If none of those is found either, `PANGO_OT_NO_SCRIPT` is placed in `script_index`.

All other functions taking an input script_index parameter know how to handle `PANGO_OT_NO_SCRIPT`, so one can ignore the return value of this function completely and proceed, to enjoy the automatic fallback to the ‘DFLT’/’dflt’ script.

#### Parameters

`table_type` | `PangoOTTableType`
| the table type to obtain information about.
`script_tag` | `PangoOTTag`
| the tag of the script to find.
`script_index` | `guint*`
| location to store the index of the script, or `NULL`.
| Direction: out
| Ownership of the data is transferred to the callee

#### Return value

Returns: `gboolean`
`TRUE` if the script was found.