bufferSetReplacementCodepoint

fnvoid bufferSetReplacementCodepoint(harfbuzz.buffer.Buffer buffer, harfbuzz.types.Codepoint replacement)

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

bufferAn #hb_buffer_t
replacementthe replacement #hb_codepoint_t