4. 텍스트와 글꼴

그림 8.33. 텍스트 예제

텍스트 예제

텍스트 레이어의 경계가 표시된 텍스트 예제(글꼴: Utopia Bold)


The Text tool is progressively improved. One of the greatest improvements of GIMP 2.0 over GIMP 1.2 is in the handling of text. In GIMP 2.0 and 2.2, each text item goes in a separate Text layer, and you can come back later to the layer and edit the text in it. You can also move the text around in the image, or change the font, or the font size. You can use any font available on your system. You can control justification, indentation, and line spacing.

With GIMP-2.6, you can draw a bounding box (a rectangular frame) for the text on your image and you can adjust this rectangle in the same way as a rectangular selection. The text goes on being edited in the Text Editor, but it is automatically wrapped within this box.

사실 텍스트 레이어도 다른 레이어와 똑같은 작업을 할 수 있습니다. 다만 기존의 작업들에 영향을 주지 않는 상태로 텍스트를 편집할 수 있다라는 것뿐입니다.

그림 8.34. 김프 텍스트 편집기

김프 텍스트 편집기

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

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

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:

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

수정한 사항의 손실에 대한 경고