9장. 텍스트 관리
| 부 II. GIMP 마법사가 되려면? |

## 9장. 텍스트 관리

## 1. 텍스트 관리

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.

그림 9.1. 텍스트 예제

텍스트 레이어의 경계가 표시된 텍스트 예제(글꼴: 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 6.6절. “Text”.

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 2절. “Text Tool Box”.

Instead of using the on-canvas text editing, you can use the text editor dialog described in 6.6.4절. “Text Editor”.

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 6.6.4절. “Text Editor”.

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.

Managing Text Layer

  You can operate on a text layer in the same ways as any other layer, but doing so often means giving up the ability to edit the text without losing the results of your work.

  텍스트 처리의 특징에 대해 이해하려면, 텍스트 레이어에는 눈에 보이는 픽셀외의 다른 정보가 포함되어 있음을 알아야합니다. 그리고 텍스트 편집기에서의 텍스트 표현에 관한 정보도 포함하고 있는데, 이것은 텍스트 도구를 사용할 때 호출되는 텍스트 편집기에서 볼 수 있습니다. 텍스트 편집기에서 텍스트를 고치는 즉시, 이미지 레이어는 그 변한 값이 레이어에 적용시킵니다.

  이제 텍스트 레이어를 하나 만든 후, 회전시키기와 같은 텍스트 도구를 이용한 작업 이외의 다른 작업을 합니다. 그런 후에 다시 텍스트 도구로 텍스트를 수정하면 그 전에 작업한 결과들은 무시되고, 새롭게 고쳐진 텍스트가 텍스트 레이어에 표현됩니다.

  Because this danger is not obvious, the Text tool tries to protect you from it. If you operate on a text layer, and then later try to edit the text, a message pops up, warning you that your alterations will be undone, and giving you three options:

  - edit the text anyway;

  - cancel;

  - create a new text layer with the same text as the existing layer, leaving the existing layer unchanged.

  그림 9.2. 수정한 사항의 손실에 대한 경고

Text Editing Context Menu

  그림 9.3. Text Editing Context Menu

  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 Layer → Text to Path.

  - Text along path:

    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:

    그림 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 Text along 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 the Path dialog. All path options should apply to this new path.

    그림 9.5. “Text along Path” example

  - From 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.

4. 레이어 그룹 |  | 2. Text Tool Box

Report an error in Bugzilla