summaryrefslogtreecommitdiff
path: root/pango/pango-utils.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-12-12 15:43:50 -0500
committerMatthias Clasen <mclasen@redhat.com>2018-12-12 15:43:50 -0500
commit8d39b9ac1d6462a224d37a4cbc0d81b052c0e313 (patch)
tree826a6ee374332f74f549be062fe08ae21892ab0f /pango/pango-utils.c
parent26f1135f374f3ad5eb963dcdf016542fbbda361b (diff)
downloadpango-8d39b9ac1d6462a224d37a4cbc0d81b052c0e313.tar.gz
Clarify docs around text input
Make it clear that all text input must be valid UTF-8, except in the case pango_layout_set_text, which we now officially document as accepting and handling invalid input.
Diffstat (limited to 'pango/pango-utils.c')
-rw-r--r--pango/pango-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 04bbd7cf..088a60d6 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -798,7 +798,7 @@ pango_lookup_aliases (const char *fontname,
/**
* pango_find_base_dir:
- * @text: the text to process
+ * @text: the text to process. Must be valid UTF-8
* @length: length of @text in bytes (may be -1 if @text is nul-terminated)
*
* Searches a string the first character that has a strong