[buffer] Improve documentation of hb_buffer_add_codepoints()

Fixes https://github.com/harfbuzz/harfbuzz/issues/3889
This commit is contained in:
Behdad Esfahbod 2022-11-24 11:59:50 -07:00
parent a4a4078632
commit 54ae3345b2
1 changed files with 3 additions and 1 deletions

View File

@ -1841,7 +1841,9 @@ hb_buffer_add_latin1 (hb_buffer_t *buffer,
* marks at stat of run.
*
* This function does not check the validity of @text, it is up to the caller
* to ensure it contains a valid Unicode code points.
* to ensure it contains a valid Unicode code points. In contrast,
* hb_buffer_add_utf32() can be used that takes similar input but performs
* sanity-check on the input.
*
* Since: 0.9.31
**/