summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf-io.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2002-04-24 00:09:29 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2002-04-24 00:09:29 +0000
commit999748e922fbeadd43bf82694c8a767e7f7af539 (patch)
tree848c810fbd721f6f0b29b590d7653050798c55fd /gdk-pixbuf/gdk-pixbuf-io.c
parenta8d22aad99faabae2eaff94ba861f9713679d325 (diff)
downloadgtk+-999748e922fbeadd43bf82694c8a767e7f7af539.tar.gz
Remove the ISO8859-1 restriction from the description of png tEXt
* gdk-pixbuf-io.c (gdk_pixbuf_save): Remove the ISO8859-1 restriction from the description of png tEXt parameters. * io-png.c (png_text_to_pixbuf_option): (gdk_pixbuf__png_image_save): If libpng supports it, store and retrieve non-ISO8859-1 text as UTF-8. (#76172)
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-io.c')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-io.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c
index 597d4ddabc..9b352d089f 100644
--- a/gdk-pixbuf/gdk-pixbuf-io.c
+++ b/gdk-pixbuf/gdk-pixbuf-io.c
@@ -784,9 +784,7 @@ gdk_pixbuf_real_save (GdkPixbuf *pixbuf,
* "quality" parameter; its value should be in the range [0,100].
* Text chunks can be attached to PNG images by specifying parameters of
* the form "tEXt::key", where key is an ASCII string of length 1-79.
- * The values are UTF-8 encoded strings. Note however that PNG text
- * chunks are stored in ISO-8859-1 encoding, so you can only set texts
- * that can be represented in this encoding.
+ * The values are UTF-8 encoded strings.
*
* Return value: whether an error was set
**/