bufferSetReplacementCodepoint

Sets the #hb_codepoint_t that replaces invalid entries for a given encoding when adding text to buffer.

Default is #HB_BUFFER_REPLACEMENT_CODEPOINT_DEFAULT.

Parameters

buffer harfbuzz.buffer.Buffer

An #hb_buffer_t

replacement harfbuzz.types.Codepoint

the replacement #hb_codepoint_t