bufferSetReplacementCodepoint
fn
void 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
buffer | An #hb_buffer_t |
replacement | the replacement #hb_codepoint_t |