applied a (slightly modified) patch from Joao that improves PDB

2006-06-28  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/text_tool.pdb: applied a (slightly modified)
	patch from Joao that improves PDB documentation (bug #345926).

	* app/pdb/text_tool_cmds.c
	* libgimp/gimptexttool_pdb.c: regenerated.
This commit is contained in:
Sven Neumann 2006-06-28 06:35:21 +00:00 committed by Sven Neumann
parent 1b23834038
commit 9237228b53
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2006-06-28 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/text_tool.pdb: applied a (slightly modified)
patch from Joao that improves PDB documentation (bug #345926).
* app/pdb/text_tool_cmds.c
* libgimp/gimptexttool_pdb.c: regenerated.
2006-06-28 Sven Neumann <sven@gimp.org>
* app/core/gimpstrokedesc.[ch]: removed broken implementation of

View File

@ -285,7 +285,7 @@ register_text_tool_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-text-fontname",
"Add text at the specified location as a floating selection or a new layer.",
"This tool requires a fontname matching an installed PangoFT2 font. You can specify the fontsize in units of pixels or points, and the appropriate metric is specified using the size_type argument. The x and y parameters together control the placement of the new text by specifying the upper left corner of the text bounding box. If the specified drawable parameter is valid, the text will be created as a floating selection attached to the drawable. If the drawable parameter is not valid (-1), the text will appear as a new layer. Finally, a border can be specified around the final rendered text. The border is measured in pixels.",
"This tool requires a fontname matching an installed PangoFT2 font. You can specify the fontsize in units of pixels or points, and the appropriate metric is specified using the size_type argument. The x and y parameters together control the placement of the new text by specifying the upper left corner of the text bounding box. If the specified drawable parameter is valid, the text will be created as a floating selection attached to the drawable. If the drawable parameter is not valid (-1), the text will appear as a new layer. Finally, a border can be specified around the final rendered text. The border is measured in pixels. Parameter size-type is not used and is currently ignored. If you need to display a font in points, divide the size in points by 72.0 and multiply it by the image's vertical resolution.",
"Martin Edlman & Sven Neumann",
"Spencer Kimball & Peter Mattis",
"1998- 2001",
@ -370,7 +370,7 @@ register_text_tool_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-text-get-extents-fontname",
"Get extents of the bounding box for the specified text.",
"This tool returns the width and height of a bounding box for the specified text string with the specified font information. Ascent and descent for the specified font are returned as well.",
"This tool returns the width and height of a bounding box for the specified text string with the specified font information. Ascent and descent for the specified font are returned as well. Parameter size-type is not used and is currently ignored. If you need to display a font in points, divide the size in points by 72.0 and multiply it by the vertical resolution of the image you are taking into account.",
"Martin Edlman & Sven Neumann",
"Spencer Kimball & Peter Mattis",
"1998- 2001",