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.
Sets the random state of the buffer. The state changes every time a glyph uses randomness (eg. the
randOpenType feature). This function together withhb_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.