Function

HarfBuzz-0.0HarfBuzzbuffer_set_random_stateSince 8.4.0

  • Sets the random state of the buffer. The state changes every time a glyph uses randomness (eg. the rand OpenType feature). This function together with hb_buffer_get_random_state() allow for transferring the current random state to a subsequent buffer, to get better randomness distribution.

    Defaults to 1 and when buffer contents are cleared. A value of 0 disables randomness during shaping.

    Parameters

    Returns void

    8.4.0