summaryrefslogtreecommitdiff
path: root/pango/pango-context.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-context.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-context.c')
-rw-r--r--pango/pango-context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c
index b48b0eaa..626f46e3 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -1616,7 +1616,7 @@ itemize_with_font (PangoContext *context,
* pango_itemize:
* @context: a structure holding information that affects
the itemization process.
- * @text: the text to itemize.
+ * @text: the text to itemize. Must be valid UTF-8
* @start_index: first byte in @text to process
* @length: the number of bytes (not characters) to process
* after @start_index.