PangoOT.Ruleset.maybe_add_features
Description: Reference for PangoOT.Ruleset.maybe_add_features

### Method

# PangoOT.Ruleset.maybe_add_features

#### Declaration [src]

    guint
    pango_ot_ruleset_maybe_add_features (
      PangoOTRuleset* ruleset,
      PangoOTTableType table_type,
      const PangoOTFeatureMap* features,
      guint n_features
    )

#### Description [src]

This is a convenience function that for each feature in the feature map array `features` converts the feature name to a `PangoOTTag` feature tag using `PANGO_OT_TAG_MAKE()` and calls `pango_ot_ruleset_maybe_add_feature()` on it.

#### Parameters

`table_type` | `PangoOTTableType`
| the table type to add features to.
`features` | `PangoOTFeatureMap`
| array of feature name and property bits to add.
| Ownership is not transferred to the callee
`n_features` | `guint`
| number of feature records in `features` array.

#### Return value

Returns: `guint`
The number of features in `features` that were found and added to `ruleset`.