broken pipe in the middle of the last commit...

* app/xcf/xcf-save.c: when saving a text layer, store an extra
	parasite that holds all information about the text.

	* app/xcf/xcf-load.c: if a "gimp-text-layer" parasite is found and
	it can be successfully deserialized to a GimpText object, convert
	the layer to a text layer and remove the parasite.

	* devel-docs/parasites.txt: documented the new "gimp-text-layer"
	parasite.
This commit is contained in:
Sven Neumann
2003-06-24 13:59:36 +00:00
parent 6b5e42def3
commit 35a57d0148
3 changed files with 67 additions and 10 deletions

View File

@ -76,6 +76,13 @@ Global data follows no strict rules.
think of ;-) Determines how one index from each dimension is
selected (until we have pinpointed the brush to use).
"gimp-text-layer" (LAYER, PERSISTENT)
The associated GimpText object serialized to a string. For
convenience the string is terminated by a trailing '\0'.
The idea of using a parasite for text layers is to keep the XCF
files backward compatible. Although gimp-1.2 doesn't know how
to handle the text layer, it keeps the parasite intact.
"tiff-save-options" (IMAGE)
The TiffSaveVals structure from the TIFF plugin.