Tabla de contenidos
Text is managed with the Text tool. This tool creates a new layer containing the text, above the current layer in the layer dialog, with the size of the text box. Its name is the beginning of the text.
Figura 9.1. Ejemplo de un elemento de texto
Ejemplo de un elemento de texto, mostrando los contornos de la capa de texto. (Tipografía: Utopia Bold.)
The layer dialog, with the text layer above the layer which was current.
The Text tool is progressively improved. With GIMP-2.8, you can now edit text directly on canvas. A text tool box has been added which overlays the canvas above the text box.
As soon as you click on the canvas with the Text tool, you get a closed text box and a semi-transparent tool box just above.
Text tool options are described in Sección 6.6, “Texto”.
The default box mode is “Dynamic”, and you can start typing text at once. The text box will enlarge gradually. Press Enter to add a new line.
You can also enlarge the text box by click-and-dragging, as you do with selections. Note that box mode turns to "Fixed". You also have to press Enter to add a new line.
To edit text, you must, first, select the part you want to edit by click-and-drag, or Shift+arrow key and then use the options of the Sección 2, “Caja de herramientas de texto”.
Instead of using the on-canvas text editing, you can use the Sección 6.6.4, “Editor de texto”.
You can move the text on the image using the Move tool: you must click on a character, not on the background.
You can get Unicode characters with Ctrl+Shift+U plus hexadecimal Unicode code of the desired char. Please see Sección 6.6.4, “Editor de texto”.
You can edit the text later, if the text layer still exists and has not been modified by another tool (see below): make the text layer active in theLayer dialog, select the Text tool and click on the text in the image window.
Puede operar sobre una capa de texto de la misma forma en que opera sobre cualquier otra capa, pero al hacerlo es posible que pierda la capacidad de editar su texto sin que se pierdan los resultados de su trabajo.
Para comprender algunas de las idiosincracias de la manipulación de texto, puede ayudar saber que una capa de texto contiene más información que los datos de píxeles que muestra: también contiene una representación del texto en un formato del editor de texto. Puede verlo en la ventana del editor de texto que aparece cuando usa la herramienta de texto. Cada vez que altere el texto, la capa de la imagen que lo contiene se vuelve a dibujar para reflejar sus cambios.
Ahora suponga que crea una capa de texto, y luego realiza operaciones sobre ella que no implican a la herramienta de texto, como por ejemplo rotarla. Suponga que vuelve para editarla con la herramienta de texto. Tan pronto como edita el texto, la herramienta de texto vuelve a dibujar la capa, reemplazando las modificaciones que ha hecho mientras tanto.
Dado que este peligro no es obvio, la herramienta de texto le advierte de lo que va a suceder. Si modifica la capa de texto y luego intenta editar el texto, aparece un mensaje avisando que se desharán los cambios, y ofreciendo tres opciones:
editar el texto de todos modos;
cancelar;
crear una capa nueva de texto con el mismo texto que la capa existente, manteniendo la capa existente como está.
You get this menu by right-clicking on text. It is somewhat different from that of the Text Editor dialog.
Cut, Copy, Paste, Delete: these options concern a selected text. They remain grayed out as long as no text is selected. “Paste” is activated if the clipboard is full of text.
Open text file: this command opens a file browser where you can find the wanted text file.
Clear: this command deletes all the text, selected or not.
Path from text: this command creates a path from the outlines of the current text. The result is not evident. You have to open the Path dialog and make path visible. Then select the Path tool and click on the text. Every letter is now surrounded with a path component. So you can modify the shape of letters by moving path control points.
This command is similar to
→ .This option is enabled only if a path exists. When your text is created, then create or import a path and make it active. If you create your path before the text, the path becomes invisible and you have to make it visible in the Path Dialog.
This command is also available from the “Layer” menu:
Figura 9.4. The Text along Path command among text commands in the Layer menu
This group of options appears only if a text layer exists.
Click on the Path dialog. All path options should apply to this new path.
button. The text is bent along the path. Letters are represented with their outline. Each of them is a component of the new path that appears in theFrom Left to Right / From Right to Left: fix the writing direction of your language.
Input Methods: methods are available for some languages. For example, selecting “Inuktitut” transforms your keyboard into an Inuktitut keyboard, temporarily.